diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-03-14 15:58:44 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:12:42 +0300 |
commit | 7949f35ef544da31913b3f3de31c5cc8a34f8525 (patch) | |
tree | 9751555b735968d2e81d994320dcf8870a561d89 /map/navigator.hpp | |
parent | 29e2e6e262c3d030c58aa8dd4cfd6b28f2d8190a (diff) |
switch off ruler on drag
Diffstat (limited to 'map/navigator.hpp')
-rw-r--r-- | map/navigator.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/map/navigator.hpp b/map/navigator.hpp index 028517ab1e..f79c191453 100644 --- a/map/navigator.hpp +++ b/map/navigator.hpp @@ -59,6 +59,7 @@ public: bool Update(double timeInSec); bool InAction() const; + bool InDrag() const; /// enabling/disabling screen rotation handling void SetSupportRotation(bool flag); @@ -108,6 +109,7 @@ private: math::Matrix<float, 3, 3> m_DeltaMatrix; // Flag, which indicates, whether we are in the middle of some action. bool m_InAction; + bool m_InDrag; // Does Navigator supports screen rotation. bool m_DoSupportRotation; // Should we check for threshold while scaling by two fingers. |