Fix animation jitter in search screen
This commit is contained in:
1 parent
8afd01af97
commit
6f4b1d23aa
1 file changed
+10
@@ -286,6 +286,11 @@ function ScrollUp() as void
|
||||
if current = destination
|
||||
return
|
||||
end if
|
||||
|
||||
if m.scrollAnimation.state = "running" and m.scrollAnimationInterpolator.reverse = true
|
||||
return
|
||||
end if
|
||||
|
||||
m.scrollAnimationInterpolator.reverse = true
|
||||
m.scrollAnimation.control = "start"
|
||||
end function
|
||||
@@ -296,6 +301,11 @@ function ScrollDown() as void
|
||||
if current = destination
|
||||
return
|
||||
end if
|
||||
|
||||
if m.scrollAnimation.state = "running" and m.scrollAnimationInterpolator.reverse = false
|
||||
return
|
||||
end if
|
||||
|
||||
m.scrollAnimationInterpolator.reverse = false
|
||||
m.scrollAnimation.control = "start"
|
||||
end function
|
||||
|
||||
Reference in new issue
Block a user