diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-04-02 22:18:17 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:14:49 +0300 |
commit | dfc991a1189847c3f77223047e12479b8c0cc025 (patch) | |
tree | 967fb359b0d94096f8b320ec2dfac74da599c7b5 /map/navigator.hpp | |
parent | 97faec6d71a4a322234d39057c6d0718eb467845 (diff) |
AdjustToBounds fixes.
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r-- | map/navigator.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp index cb1000984b..cd7c06727d 100644 --- a/map/navigator.hpp +++ b/map/navigator.hpp @@ -62,7 +62,7 @@ public: private: - + m2::RectD m_worldRect; unsigned m_pxMinWidth; double m_metresMinWidth; bool CheckMinScale(ScreenBase const & screen); @@ -70,7 +70,7 @@ private: bool CheckBorders(ScreenBase const & screen); // adjusting screen to specified limits - ScreenBase const AdjustToBounds(ScreenBase const & screen, m2::RectD const & boundRect); + ScreenBase const AdjustToBounds(ScreenBase const & screen, m2::RectD const & boundRect, bool doScaleOnly); // Internal screen corresponding to the state when navigation began with StartDrag or StartScale. ScreenBase m_StartScreen; // Internal screen to do GtoP() and PtoG() calculations. It is always up to date with navigation. |