forked from organicmaps/organicmaps
Review fix.
This commit is contained in:
parent
65fb30dff9
commit
53271dd185
1 changed files with 2 additions and 1 deletions
|
@ -575,13 +575,14 @@ bool UserEventStream::EndDrag(Touch const & t, double timestamp, bool cancelled)
|
|||
|
||||
void UserEventStream::BeginScale(Touch const & t1, Touch const & t2)
|
||||
{
|
||||
TEST_CALL(BEGIN_SCALE);
|
||||
|
||||
if (m_state == STATE_SCALE)
|
||||
{
|
||||
Scale(t1, t2);
|
||||
return;
|
||||
}
|
||||
|
||||
TEST_CALL(BEGIN_SCALE);
|
||||
ASSERT_EQUAL(m_state, STATE_EMPTY, ());
|
||||
m_state = STATE_SCALE;
|
||||
m2::PointD touch1 = t1.m_location;
|
||||
|
|
Loading…
Add table
Reference in a new issue