Browse Source

Advance in integer zoom levels with step zoom

Johannes Hofmann 7 years ago
parent
commit
ff177a2d40
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/main.rs

+ 2
- 2
src/main.rs View File

142
                         if modifiers.ctrl {
142
                         if modifiers.ctrl {
143
                             map.change_tile_zoom_offset(1.0);
143
                             map.change_tile_zoom_offset(1.0);
144
                         } else {
144
                         } else {
145
-                            map.step_zoom(1, 0.5);
145
+                            map.step_zoom(1, 1.0);
146
                         }
146
                         }
147
                         Action::Redraw
147
                         Action::Redraw
148
                     },
148
                     },
150
                         if modifiers.ctrl {
150
                         if modifiers.ctrl {
151
                             map.change_tile_zoom_offset(-1.0);
151
                             map.change_tile_zoom_offset(-1.0);
152
                         } else {
152
                         } else {
153
-                            map.step_zoom(-1, 0.5);
153
+                            map.step_zoom(-1, 1.0);
154
                         }
154
                         }
155
                         Action::Redraw
155
                         Action::Redraw
156
                     },
156
                     },