diff options
author | kotontrion <[email protected]> | 2025-01-13 09:13:05 +0100 |
---|---|---|
committer | kotontrion <[email protected]> | 2025-01-13 09:13:05 +0100 |
commit | cac0fc63bfe098b26753db8262f5d95ac42b281b (patch) | |
tree | f85caf680b215a225bb6ee143c548ce6155b3af8 /examples/js | |
parent | 6fd7ae514af36ff9baf1209a2eeebd3a26cf94ce (diff) |
notification example: fix implicit destroy
the notificationsMap holds references to the notification widgets,
therefore the box should not destroy the widgets in the bind
Diffstat (limited to 'examples/js')
-rw-r--r-- | examples/js/notifications/notifications/NotificationPopups.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/js/notifications/notifications/NotificationPopups.tsx b/examples/js/notifications/notifications/NotificationPopups.tsx index 9b84d84..13fdd88 100644 --- a/examples/js/notifications/notifications/NotificationPopups.tsx +++ b/examples/js/notifications/notifications/NotificationPopups.tsx @@ -98,7 +98,7 @@ export default function NotificationPopups(gdkmonitor: Gdk.Monitor) { gdkmonitor={gdkmonitor} exclusivity={Astal.Exclusivity.EXCLUSIVE} anchor={TOP | RIGHT}> - <box vertical> + <box vertical noImplicitDestroy> {bind(notifs)} </box> </window> |