[gnome-shell/wip/exalm/gesture-fix: 5/6] swipeTracker: Reset scroll gesture state on disabling
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/exalm/gesture-fix: 5/6] swipeTracker: Reset scroll gesture state on disabling
- Date: Thu, 6 Feb 2020 17:36:26 +0000 (UTC)
commit a06a418ac16900bbca7180b73e0af1857a07b11e
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Thu Feb 6 00:51:45 2020 +0500
swipeTracker: Reset scroll gesture state on disabling
Ensure that scrolling works correctly next time it's enabled.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/2177
js/ui/swipeTracker.js | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/js/ui/swipeTracker.js b/js/ui/swipeTracker.js
index 65c3d0d649..77536e4766 100644
--- a/js/ui/swipeTracker.js
+++ b/js/ui/swipeTracker.js
@@ -270,6 +270,8 @@ const ScrollGesture = GObject.registerClass({
return;
this._enabled = enabled;
+ this._began = false;
+
this.notify('enabled');
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]