minor refactoring
This commit is contained in:
parent
a8f8241006
commit
452cb2d488
2 changed files with 4 additions and 7 deletions
|
|
@ -44,13 +44,11 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.pinned {
|
.pinned .app {
|
||||||
.app {
|
|
||||||
@include lib.rounded(5);
|
@include lib.rounded(5);
|
||||||
|
|
||||||
font-size: lib.s(64);
|
font-size: lib.s(64);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.results {
|
.results {
|
||||||
.empty {
|
.empty {
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,6 @@ export class PopupWindow extends Widget.Window {
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
const {
|
const {
|
||||||
onKeyPressEvent,
|
|
||||||
clickThrough,
|
clickThrough,
|
||||||
child,
|
child,
|
||||||
halign = Gtk.Align.START,
|
halign = Gtk.Align.START,
|
||||||
|
|
@ -102,7 +101,7 @@ export class PopupWindow extends Widget.Window {
|
||||||
// Close window on escape
|
// Close window on escape
|
||||||
if (event.get_keyval()[1] === Gdk.KEY_Escape) self.hide();
|
if (event.get_keyval()[1] === Gdk.KEY_Escape) self.hide();
|
||||||
|
|
||||||
return onKeyPressEvent?.(self, event);
|
return props.onKeyPressEvent?.(self, event);
|
||||||
};
|
};
|
||||||
super(sProps);
|
super(sProps);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue