[shotwell/wip/gtk4: 23/45] Fix double-click on photo page




commit 467867bf1a7db8f8799d2bac8ebac6282b5968b7
Author: Jens Georg <mail jensge org>
Date:   Sat Apr 9 20:31:30 2022 +0200

    Fix double-click on photo page

 src/Page.vala | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/Page.vala b/src/Page.vala
index 778a7873..7dce6bad 100644
--- a/src/Page.vala
+++ b/src/Page.vala
@@ -760,9 +760,6 @@ public abstract class Page : Gtk.Box {
         var sequence = gesture.get_current_sequence ();
         var event = gesture.get_last_event (sequence);
 
-        if (press != 1)
-            return;
-
         bool result = false;
 
         switch (gesture.get_current_button()) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]