summaryrefslogtreecommitdiff
path: root/utils/widgets.tsx
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-14 12:57:10 +1100
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-01-14 12:57:10 +1100
commit452cb2d488caebe12cba6d9cdda3529c8b406dc3 (patch)
treed8ae82a05264299e597e75721f895284071e1f88 /utils/widgets.tsx
parentscss: fix deprecation warnings (diff)
downloadcaelestia-shell-452cb2d488caebe12cba6d9cdda3529c8b406dc3.tar.gz
caelestia-shell-452cb2d488caebe12cba6d9cdda3529c8b406dc3.tar.bz2
caelestia-shell-452cb2d488caebe12cba6d9cdda3529c8b406dc3.zip
minor refactoring
Diffstat (limited to 'utils/widgets.tsx')
-rw-r--r--utils/widgets.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/widgets.tsx b/utils/widgets.tsx
index a0a96cb..ab916fc 100644
--- a/utils/widgets.tsx
+++ b/utils/widgets.tsx
@@ -82,7 +82,6 @@ export class PopupWindow extends Widget.Window {
}
) {
const {
- onKeyPressEvent,
clickThrough,
child,
halign = Gtk.Align.START,
@@ -102,7 +101,7 @@ export class PopupWindow extends Widget.Window {
// Close window on escape
if (event.get_keyval()[1] === Gdk.KEY_Escape) self.hide();
- return onKeyPressEvent?.(self, event);
+ return props.onKeyPressEvent?.(self, event);
};
super(sProps);