diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-11-11 16:11:22 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-11-11 17:21:37 +0100 |
commit | 9e2b8edb4d73efa5504ce5d99de3eec7a3967ab7 (patch) | |
tree | c27211c67b7490a1d8236f8ad2e1479e95d11ef7 | |
parent | 502e2b0e86a8c961b82ea2824e9f3fd82e83eb72 (diff) | |
download | subsurface-9e2b8edb4d73efa5504ce5d99de3eec7a3967ab7.tar.gz |
Make the "click-to-zoom" use a 2.5x zoom factor
I think I prefer the 2.5x zoom over the pure doubling.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | gtk-gui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1361,8 +1361,8 @@ static gboolean expose_event(GtkWidget *widget, GdkEventExpose *event, gpointer cairo_paint(gc.cr); if (zoom_x >= 0) { - cairo_translate(gc.cr, -zoom_x, -zoom_y); - cairo_scale(gc.cr, 2.0, 2.0); + cairo_translate(gc.cr, -1.5*zoom_x, -1.5*zoom_y); + cairo_scale(gc.cr, 2.5, 2.5); } if (dive) { |