Stop rendering during idle state
authorPaul Wisbey <p.wisbey@samsung.com>
Tue, 10 Jun 2014 04:36:21 +0000 (13:36 +0900)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Wed, 11 Jun 2014 08:02:23 +0000 (09:02 +0100)
commit73a843c989185d86282edb116aeac40a5f3eb865
tree690bee5bb7c1ae8b6b0d5c343f8182373475aab4
parent67ae153437d442c741f99046d5694b5ad88e01d8
Stop rendering during idle state

[problem] Sometimes rendering continues forever (even in idle state).
[cause] ScrollView AnimateInternalXTo is playing Animations with
invalid durations. It either uses a large duration which causes the
issue, otherwise it plays with duration zero (also incorrect).
[solution] Remove the redundant animation logic (since animating
mPropertyPrePosition to itself is a NOOP)
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.cpp
base/dali-toolkit/internal/controls/scrollable/scroll-view/scroll-view-impl.h