[Libreoffice-commits] .: basegfx/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Mon Feb 6 07:30:03 PST 2012
basegfx/source/tools/zoomtools.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 4db617efd924ad7ff4ce6988771ad36612c329ec
Author: Jan Holesovsky <kendy at suse.cz>
Date: Mon Feb 6 16:12:40 2012 +0100
Change the zoom factor to 2^(1/6), hopefully it fits all :-)
diff --git a/basegfx/source/tools/zoomtools.cxx b/basegfx/source/tools/zoomtools.cxx
index c6c8044..89ea0cc 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
More information about the Libreoffice-commits
mailing list