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
|
// Overridden from BaseAppView
|
||||||
animate(animationDirection, onComplete) {
|
animate(animationDirection, onComplete) {
|
||||||
this._scrollView.reactive = false;
|
this._scrollView.reactive = false;
|
||||||
|
this._swipeTracker.enabled = false;
|
||||||
let completionFunc = () => {
|
let completionFunc = () => {
|
||||||
this._scrollView.reactive = true;
|
this._scrollView.reactive = true;
|
||||||
|
this._swipeTracker.enabled = this.mapped;
|
||||||
if (onComplete)
|
if (onComplete)
|
||||||
onComplete();
|
onComplete();
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user