Skip to content

Commit

Permalink
Fix the annoyance where the GTK inspector cannot click-inspect items …
Browse files Browse the repository at this point in the history
…under the file drop revealer
  • Loading branch information
heliguy4599 committed Dec 12, 2024
1 parent ae468a4 commit fd8ae4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main_window/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,14 @@ def on_file_drop(self, drop_target, value, x, y):

def on_drop_enter(self, *args):
self.main_split.add_css_class("blurred")
self.file_drop_revealer.set_visible(True)
self.file_drop_revealer.set_reveal_child(True)
return 1

def on_drop_leave(self, *args):
self.main_split.remove_css_class("blurred")
self.file_drop_revealer.set_reveal_child(False)
self.file_drop_revealer.set_visible(False)

def switch_page_shortcut_handler(self, letter):
self.activate_row(self.shortcut_to_pages[letter])
Expand Down

0 comments on commit fd8ae4f

Please sign in to comment.