effects/scale: Make it not grab open and close roles
Otherwise the fall apart effect will refuse to work; the fade effect already works like that. BUG: 449832
This commit is contained in:
parent
d0c12ac54d
commit
20399e0c42
1 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ class ScaleEffect {
|
||||||
if (!window.visible) {
|
if (!window.visible) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!effect.grab(window, Effect.WindowAddedGrabRole)) {
|
if (effect.isGrabbed(window, Effect.WindowAddedGrabRole)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.setupForcedRoles(window);
|
this.setupForcedRoles(window);
|
||||||
|
@ -127,7 +127,7 @@ class ScaleEffect {
|
||||||
if (!window.visible || window.skipsCloseAnimation) {
|
if (!window.visible || window.skipsCloseAnimation) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!effect.grab(window, Effect.WindowClosedGrabRole)) {
|
if (effect.isGrabbed(window, Effect.WindowClosedGrabRole)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (window.scaleInAnimation) {
|
if (window.scaleInAnimation) {
|
||||||
|
|
Loading…
Reference in a new issue