[libhandy/wip/exalm/leaflet-fixes] stackable-box: Stop transition when starting a swipe
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libhandy/wip/exalm/leaflet-fixes] stackable-box: Stop transition when starting a swipe
- Date: Fri, 29 May 2020 10:02:06 +0000 (UTC)
commit 28033d2f898abeb57336d9435f6c45501c6b089f
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri May 29 14:59:57 2020 +0500
stackable-box: Stop transition when starting a swipe
This is a regression from e60a39eb186de6ee881102b62b389ab7deba5c1d
Signed-off-by: Alexander Mikhaylenko <alexm gnome org>
src/hdy-stackable-box.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/hdy-stackable-box.c b/src/hdy-stackable-box.c
index 7352cd64..82532ff9 100644
--- a/src/hdy-stackable-box.c
+++ b/src/hdy-stackable-box.c
@@ -3169,6 +3169,8 @@ hdy_stackable_box_begin_swipe (HdyStackableBox *self,
self->child_transition.swipe_direction = direction;
if (self->child_transition.tick_id > 0) {
+ gtk_widget_remove_tick_callback (GTK_WIDGET (self->container),
+ self->child_transition.tick_id);
self->child_transition.tick_id = 0;
self->child_transition.is_gesture_active = TRUE;
self->child_transition.is_cancelled = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]