💥 fix(runner): result selection not working, scrolledwindow not scrolling automatically with focused row
This commit is contained in:
@@ -109,7 +109,7 @@ export function PopupWindow(props: PopupWindowProps): GObject.Object {
|
||||
}
|
||||
}));
|
||||
|
||||
conns.set(keyController, keyController.connect("key-released", (_, keyval, keycode) => {
|
||||
conns.set(keyController, keyController.connect("key-pressed", (_, keyval, keycode) => {
|
||||
if(keyval === Gdk.KEY_Escape) {
|
||||
conns.forEach((id, obj) => {
|
||||
obj.disconnect(id);
|
||||
@@ -158,3 +158,7 @@ export function PopupWindow(props: PopupWindowProps): GObject.Object {
|
||||
</Gtk.Box>
|
||||
</Astal.Window> as Astal.Window;
|
||||
}
|
||||
|
||||
export function getPopupWindowContainer(popupWindow: Astal.Window): Gtk.Box {
|
||||
return popupWindow.get_child()!.get_first_child() as Gtk.Box;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user