forked from organicmaps/organicmaps
Review fixes
This commit is contained in:
parent
d1ec2d1e32
commit
5735727490
3 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,8 @@ private:
|
|||
class FixedPointAnimation : public ModelViewAnimation
|
||||
{
|
||||
public:
|
||||
/// This animation extends ModelViewAnimation by adding point which must be in certain
|
||||
/// pixel position on the screen.
|
||||
FixedPointAnimation(m2::AnyRectD const & startRect, m2::AnyRectD const & endRect,
|
||||
double aDuration, double mDuration, double sDuration,
|
||||
m2::PointD const & pixelPoint, m2::PointD const & globalPoint);
|
||||
|
|
|
@ -477,7 +477,9 @@ void MyPositionController::Follow()
|
|||
{
|
||||
location::EMyPositionMode currentMode = GetMode();
|
||||
if (currentMode == location::MODE_FOLLOW)
|
||||
{
|
||||
ChangeModelView(m_position);
|
||||
}
|
||||
else if (currentMode == location::MODE_ROTATE_AND_FOLLOW)
|
||||
{
|
||||
bool animate = true;
|
||||
|
|
|
@ -244,6 +244,7 @@ private:
|
|||
|
||||
void BeginDrag(Touch const & t, double timestamp);
|
||||
void Drag(Touch const & t, double timestamp);
|
||||
// EndDrag returns false in case of kinetic moving after dragging has begun.
|
||||
bool EndDrag(Touch const & t, double timestamp, bool cancelled);
|
||||
|
||||
void BeginScale(Touch const & t1, Touch const & t2);
|
||||
|
|
Loading…
Add table
Reference in a new issue