diff --git a/scss/launcher.scss b/scss/launcher.scss index 6fe9035c..3f86f774 100644 --- a/scss/launcher.scss +++ b/scss/launcher.scss @@ -44,12 +44,10 @@ } } - .pinned { - .app { - @include lib.rounded(5); + .pinned .app { + @include lib.rounded(5); - font-size: lib.s(64); - } + font-size: lib.s(64); } .results { diff --git a/utils/widgets.tsx b/utils/widgets.tsx index a0a96cb3..ab916fc3 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);