Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2012-09-27 15:17:33 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:44:19 +0300
commit6b18ff35762510c32fa3774a06a5a136b55aa4fa (patch)
tree3f2e12101ccb24edbfa845d9f99c9b6fff911b20 /platform
parent5714f246652e2b549a2bd84cfcc9b26bf88e0199 (diff)
added m2::AnyRect<T>::SetAngle and modified Navigator::SaveState to save current viewport without rotation.
Diffstat (limited to 'platform')
-rw-r--r--platform/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/settings.cpp b/platform/settings.cpp
index c416555322..d9baa3d88d 100644
--- a/platform/settings.cpp
+++ b/platform/settings.cpp
@@ -127,7 +127,7 @@ namespace Settings
out.precision(12);
m2::PointD glbZero(rect.GlobalZero());
out << glbZero.x << " " << glbZero.y << " ";
- out << rect.angle().val() << " ";
+ out << rect.Angle().val() << " ";
m2::RectD r = rect.GetLocalRect();
out << r.minX() << " " << r.minY() << " " << r.maxX() << " " << r.maxY();
return out.str();