feat: toggle panels on signal

This commit is contained in:
aclist committed 2026-02-07 17:42:15 +09:00
1 parent 56b32a0048
commit 045f242e09
6 files changed
+49 -34

No files matched your search

+3 -1
View File
@@ -22,7 +22,9 @@ class ContextMixin(TreeView):
if self.is_selection_empty():
return
if event.type is Gdk.EventType.BUTTON_PRESS and event.button == 3:
if event.type is Gdk.EventType.BUTTON_PRESS:
if event.button != 3:
return
try:
pathinfo = self.get_path_at_pos(int(event.x), int(event.y))
if pathinfo is None: