(ScrollView) Ensure we emit the signal if scroll is stopped on touch-down 91/24191/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 23 Jun 2014 14:26:04 +0000 (23:26 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Tue, 8 Jul 2014 17:47:50 +0000 (18:47 +0100)
commit824cfff2326ae3488e6719919ab149c8ee47b4d5
tree28e4e3273890f1e06ad1f273875df16ccab9f3ce
parentd2c0a6de37f0166a6a4a9bd1b1017ffcc8f545cc
(ScrollView) Ensure we emit the signal if scroll is stopped on touch-down

[problem]      When interrupting pan on touch-down, scroll-completed signal is not emitted.
[cause]        We clear the scroll animation flags and then check if we were scrolling.
[solution]     Create a local copy of the flags first so that comparisons are valid with actual
               state.

Change-Id: I8f98b9d4cd9d1342f9505156b8bbb55da7942557
Signed-off-by: Adeel Kazmi <adeel.kazmi@samsung.com>
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp