mirror of
https://github.com/gosticks/PaperWM.git
synced 2026-02-25 10:12:43 +00:00
regression: Fix new window animation
Removing `space.moving` broke a silent assumption used by `insertWindow`. The problem is caused by not detecting layouts that doesn't scroll the space. Detect it by guarding against any active tweens.
This commit is contained in:
parent
18eb343af3
commit
a8b23aa451
@ -572,7 +572,8 @@ class Space extends Array {
|
||||
}
|
||||
|
||||
moveDone() {
|
||||
if (this.cloneContainer.x !== this.targetX ||
|
||||
if (Tweener.getTweenCount(this.cloneContainer) > 0 ||
|
||||
this.cloneContainer.x !== this.targetX ||
|
||||
this.actor.y !== 0 ||
|
||||
Navigator.navigating || inPreview || noAnimate ||
|
||||
Main.overview.visible) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user