on xenial help sign in
Slow down speed of swipe used to change scopes, to improve reliability.
commitfdc2d94f6904443825c970e91e27bcd5ac1ad1f2 authorRichard Huddie <richard.huddie@canonical.com> dateTue 19 May 2015, 22:39 (11 years ago) parent0ea6e84
1 file changed+2−2
tests/autopilot/unity8/shell/emulators/dash.py+2−2
tests/autopilot/unity8/shell/emulators/dash.py+2−2
@@ -130,7 +130,7 @@ class Dash(ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase):
130130 x, y, width, height = dash_content.globalRect
131131 # Make the drag range be a multiple of the drag "rate" value.
132132 # Workarounds https://bugs.launchpad.net/mir/+bug/1399690
133− rate = 10
133+ rate = 5
134134 divisions = 5
135135 jump = (width / divisions) // rate * rate
136136 start_x = x + jump
@@ -146,7 +146,7 @@ class Dash(ubuntuuitoolkit.UbuntuUIToolkitCustomProxyObjectBase):
146146 x, y, width, height = dash_content.globalRect
147147 # Make the drag range be a multiple of the drag "rate" value.
148148 # Workarounds https://bugs.launchpad.net/mir/+bug/1399690
149− rate = 10
149+ rate = 5
150150 divisions = 5
151151 jump = (width / divisions) // rate * rate
152152 start_x = x + jump * (divisions - 1)