X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-core.git;a=blobdiff_plain;f=dali%2Finternal%2Fupdate%2Fgestures%2Fscene-graph-pan-gesture.cpp;h=217b78abc607ccff4bcadb1ca9df5d0994ea1387;hp=494146584a5bb1dac1c9222041d3aece3f16f862;hb=17f28cc04cbb2708a29a6ef7a353ce15fc434b2d;hpb=482c5fb5dde415bbddfe0e24878842ff2d469bb1 diff --git a/dali/internal/update/gestures/scene-graph-pan-gesture.cpp b/dali/internal/update/gestures/scene-graph-pan-gesture.cpp index 4941465..217b78a 100644 --- a/dali/internal/update/gestures/scene-graph-pan-gesture.cpp +++ b/dali/internal/update/gestures/scene-graph-pan-gesture.cpp @@ -551,7 +551,7 @@ bool PanGesture::UpdateProperties( unsigned int lastVSyncTime, unsigned int next mLastGesture = frameGesture; mLastUnmodifiedGesture = unmodifiedGesture; - mInGesture &= ~frameInfo.justFinished; + mInGesture = mInGesture && !frameInfo.justFinished; if( mProfiling && frameInfo.justFinished ) { mProfiling->PrintData(); @@ -1281,7 +1281,7 @@ bool PanGesture::NewAlgorithm( unsigned int lastVSyncTime, unsigned int nextVSyn } } - mInGesture &= ~justFinished; + mInGesture = mInGesture && !justFinished; return performUpdate; }