Skip to content

Commit b1941d9

Browse files
committed
Adjust values to fix zoom
1 parent acf6a3e commit b1941d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Gestures/GestureController.vala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public class Gala.GestureController : Object {
241241
return;
242242
}
243243

244-
var spring = new SpringTimeline (target.actor, progress, clamped_to, velocity, 1, 1, 1000);
244+
var spring = new SpringTimeline (target.actor, progress, clamped_to, velocity, 1, 1, 500);
245245
spring.progress.connect ((value) => progress = value);
246246
spring.stopped.connect_after (finished);
247247

@@ -269,7 +269,7 @@ public class Gala.GestureController : Object {
269269
}
270270

271271
prepare ();
272-
finish ((to > progress ? 1 : -1) * 5, to);
272+
finish ((to > progress ? 1 : -1) * 1, to);
273273
}
274274

275275
public void cancel_gesture () {

0 commit comments

Comments
 (0)