diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2015-11-06 19:34:25 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2015-11-06 20:17:42 +0000 |
commit | dd2a9224238b577a138c77cac6e2c0a36268734d (patch) | |
tree | 6bdda7f3e6947bb6cdbff48281514986aa7eb7a8 | |
parent | f5231d3e7d93830920b785dca4c770939ff8a138 (diff) | |
download | imv-dd2a9224238b577a138c77cac6e2c0a36268734d.tar.gz |
Remove scale restriction
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -68,8 +68,8 @@ void zoom_view(int amount) g_view.scale += amount * 0.1; if(g_view.scale > 10) g_view.scale = 10; - else if (g_view.scale < 1) - g_view.scale = 1; + else if (g_view.scale < 0.1) + g_view.scale = 0.1; g_view.redraw = 1; } |