image: Add double click for zoom/fullscreen

Zooms on touchscreens and fullscreens otherwise.
Using the fullscreen behavior for now, since that's what
a lot of other apps do.
This commit is contained in:
Sophie Herold 2023-02-06 18:40:32 +01:00
parent aa7a2dfd93
commit 169dd454cc
3 changed files with 40 additions and 4 deletions

View file

@ -63,7 +63,7 @@
<property name="child">
<object class="LpImage" id="image">
<child>
<object class="GtkGestureClick" id="click_gesture">
<object class="GtkGestureClick" id="right_click_gesture">
<property name="button">3</property>
</object>
</child>