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
This commit is contained in:
parent
35063c9e7c
commit
a06a418ac1
@ -270,6 +270,8 @@ const ScrollGesture = GObject.registerClass({
|
||||
return;
|
||||
|
||||
this._enabled = enabled;
|
||||
this._began = false;
|
||||
|
||||
this.notify('enabled');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user