appDisplay: Disable swipe tracker during swarm animation
Eensures it resets when an animation starts. https://gitlab.gnome.org/GNOME/gnome-shell/issues/2177
This commit is contained in:
parent
a06a418ac1
commit
dfb8737007
@ -530,8 +530,10 @@ var AllView = GObject.registerClass({
|
||||
// Overridden from BaseAppView
|
||||
animate(animationDirection, onComplete) {
|
||||
this._scrollView.reactive = false;
|
||||
this._swipeTracker.enabled = false;
|
||||
let completionFunc = () => {
|
||||
this._scrollView.reactive = true;
|
||||
this._swipeTracker.enabled = this.mapped;
|
||||
if (onComplete)
|
||||
onComplete();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user