bugfix(modules/panel): ensure pointing widget assignment for interactive elements

This commit is contained in:
sankalp committed 2026-04-10 01:12:58 +05:45
1 parent 8337971e1e
commit 150ec6662c
1 file changed
+4
+4
View File
@@ -88,6 +88,7 @@ class Panel(Window):
on_clicked=self.control_center.toggle_mousecapture,
)
setup_cursor_hover(self.control_center_btn, "pointer")
self.control_center.child_window._pointing_widget = self.control_center_btn
self.notification_center = MouseCapture(
layer="overlay", child_window=NotificationCenter()
@@ -103,6 +104,9 @@ class Panel(Window):
on_clicked=self.on_notification_icon_clicked,
)
setup_cursor_hover(self.notification_center_btn, "pointer")
self.notification_center.child_window._pointing_widget = (
self.notification_center_btn
)
self.datetime_btn = Button(
name="panel-button",