summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-01-23 15:27:45 +0100
committerJan Holesovsky <kendy@suse.cz>2012-01-23 15:28:46 +0100
commita18c8a06073650e12f3c1f9f8990670484ac5cf1 (patch)
tree8bb66db2da8faf510adc2ef251a9dac95101e159
parent832cd0cfb7a66ed19033e793de37a312af8c0c20 (diff)
Let's use 2^(1/4) as the zoom factor, instead of 1.2 (thanks, Tor!)
-rw-r--r--svx/inc/svx/zoom_def.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/inc/svx/zoom_def.hxx b/svx/inc/svx/zoom_def.hxx
index e1944931e01d..9f1a8ef2bd07 100644
--- a/svx/inc/svx/zoom_def.hxx
+++ b/svx/inc/svx/zoom_def.hxx
@@ -8,7 +8,8 @@
#endif
-// zoom factor for Calc, Writer, Draw and Impress
-#define ZOOM_FACTOR 1.2
+// Zoom factor for Calc, Writer, Draw and Impress
+// We use 2^(1/4) so that 4 steps lead to double / half size
+#define ZOOM_FACTOR 1.1892071150027210667175
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */