Commit bb5c9838 authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko

swipe-tracker: Animate when canceled

There are some cases where not animating the canceled gesture looks
awkward. For example, when tapping a paginator while it animates.
Signed-off-by: Alexander Mikhaylenko's avatarAlexander Mikhaylenko <>
parent 165ab0c9
......@@ -272,9 +272,6 @@ gesture_end (HdySwipeTracker *self)
duration = ABS ((self->progress - end_progress) / velocity * DURATION_MULTIPLIER);
if (self->cancelled)
duration = 0;
g_signal_emit (self, signals[SIGNAL_END], 0, duration, end_progress);
if (self->cancelled)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment