about summary refs log tree commit diff stats
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.lua b/main.lua
index 85843dd..f47b61f 100644
--- a/main.lua
+++ b/main.lua
@@ -598,9 +598,13 @@ function keychord_pressed(chord)
       end
     end
   elseif chord == 'C-=' then
+    drawingw = drawingw/zoom
     zoom = zoom+0.5
+    drawingw = drawingw*zoom
   elseif chord == 'C--' then
+    drawingw = drawingw/zoom
     zoom = zoom-0.5
+    drawingw = drawingw*zoom
   -- shortcuts for drawings
   elseif chord == 'escape' and love.mouse.isDown('1') then
     local drawing = current_drawing()