summaryrefslogtreecommitdiff
path: root/gui/gui.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-22 06:41:03 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-22 06:41:03 -0300
commit86bbde6852de4406e080337042b697fa58e50f30 (patch)
tree71f26135c5ccc5bd477eb883480ab4bc6bac37e0 /gui/gui.c
parent8e572113b8289a6d5b66f66e0b2e77af8d71874b (diff)
downloadeeshow-86bbde6852de4406e080337042b697fa58e50f30.tar.gz
eeshow-86bbde6852de4406e080337042b697fa58e50f30.tar.bz2
eeshow-86bbde6852de4406e080337042b697fa58e50f30.zip
eeshow/gui/: change zoom system to use float; reduce step from 2 to 2^(1/3)
Diffstat (limited to 'gui/gui.c')
-rw-r--r--gui/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/gui.c b/gui/gui.c
index d880be6..98b98b7 100644
--- a/gui/gui.c
+++ b/gui/gui.c
@@ -389,7 +389,7 @@ int gui(unsigned n_args, char **args, bool recurse, int limit,
GtkWidget *window;
char *title;
struct gui_ctx ctx = {
- .zoom = 4, /* scale by 1 / 16 */
+ .scale = 1 / 16.0,
.pl = pl, // @@@
.hist = NULL,
.vcs_hist = NULL,