summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2012-02-06 16:12:40 +0100
committerJan Holesovsky <kendy@suse.cz>2012-02-06 16:29:44 +0100
commit4db617efd924ad7ff4ce6988771ad36612c329ec (patch)
tree305ee0ad12f6de9516fda3c1b9893e5b00aec9c9 /basegfx
parent8411534883e960a8404d24937f813eb20accecdd (diff)
Change the zoom factor to 2^(1/6), hopefully it fits all :-)
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/tools/zoomtools.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basegfx/source/tools/zoomtools.cxx b/basegfx/source/tools/zoomtools.cxx
index c6c8044c5953..89ea0ccf07ab 100644
--- a/basegfx/source/tools/zoomtools.cxx
+++ b/basegfx/source/tools/zoomtools.cxx
@@ -33,12 +33,12 @@ namespace basegfx
namespace zoomtools
{
-/** 2^(1/4) as the default step
+/** 2^(1/6) as the default step
- This ensures (unless the rounding is used) that 4 steps lead
+ This ensures (unless the rounding is used) that 6 steps lead
to double / half zoom level.
*/
-const double ZOOM_FACTOR = 1.1892071150027210667175;
+const double ZOOM_FACTOR = 1.12246205;
/**
* Round a value against a specified multiple. Values below half