image/zoom: Force zoom to center for buttons
Before, using buttons on touchscreen could zoom to the cursor position.
This commit is contained in:
parent
88099b1ec9
commit
b1d1d547cf
6 changed files with 94 additions and 46 deletions
|
|
@ -59,7 +59,7 @@
|
|||
<child>
|
||||
<object class="GtkButton" id="zoom_out">
|
||||
<property name="icon-name">zoom-out-symbolic</property>
|
||||
<property name="action-name">win.zoom-out</property>
|
||||
<property name="action-name">win.zoom-out-center</property>
|
||||
<property name="tooltip-text" translatable="yes">Zoom Out</property>
|
||||
<style>
|
||||
<class name="osd" />
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
<child>
|
||||
<object class="GtkButton" id="zoom_in">
|
||||
<property name="icon-name">zoom-in-symbolic</property>
|
||||
<property name="action-name">win.zoom-in</property>
|
||||
<property name="action-name">win.zoom-in-center</property>
|
||||
<property name="tooltip-text" translatable="yes">Zoom In</property>
|
||||
<style>
|
||||
<class name="osd" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue