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>2011-04-02 22:18:17 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:14:49 +0300
commitdfc991a1189847c3f77223047e12479b8c0cc025 (patch)
tree967fb359b0d94096f8b320ec2dfac74da599c7b5 /map/navigator.hpp
parent97faec6d71a4a322234d39057c6d0718eb467845 (diff)
AdjustToBounds fixes.
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r--map/navigator.hpp4
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.