feat(apt-widget): Close Popup On Mouse Out
This commit is contained in:
parent
d075212be3
commit
2f79c7bf35
|
@ -353,6 +353,13 @@ local function worker(user_args)
|
|||
end
|
||||
end)))
|
||||
|
||||
|
||||
wibox_popup:connect_signal("mouse::leave", function()
|
||||
if wibox_popup.visible then
|
||||
wibox_popup.visible = false
|
||||
end
|
||||
end)
|
||||
|
||||
return apt_widget_button
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue