Fix the annoyance where the GTK inspector cannot click-inspect items under the file drop revealer

This commit is contained in:
heliguy
2024-12-12 18:53:00 -05:00
parent ae468a4326
commit fd8ae4fe01

View File

@@ -175,12 +175,14 @@ class WarehouseWindow(Adw.ApplicationWindow):
def on_drop_enter(self, *args): def on_drop_enter(self, *args):
self.main_split.add_css_class("blurred") self.main_split.add_css_class("blurred")
self.file_drop_revealer.set_visible(True)
self.file_drop_revealer.set_reveal_child(True) self.file_drop_revealer.set_reveal_child(True)
return 1 return 1
def on_drop_leave(self, *args): def on_drop_leave(self, *args):
self.main_split.remove_css_class("blurred") self.main_split.remove_css_class("blurred")
self.file_drop_revealer.set_reveal_child(False) self.file_drop_revealer.set_reveal_child(False)
self.file_drop_revealer.set_visible(False)
def switch_page_shortcut_handler(self, letter): def switch_page_shortcut_handler(self, letter):
self.activate_row(self.shortcut_to_pages[letter]) self.activate_row(self.shortcut_to_pages[letter])