Skip to content

Commit

Permalink
Substitute scratch windows with clones
Browse files Browse the repository at this point in the history
This is necessary for events to pass through to the space.
  • Loading branch information
hedning committed Dec 5, 2020
1 parent 87b6518 commit 25fcdea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions grab.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ var MoveGrab = class MoveGrab {
space.startAnimate();
// Make sure the window actor is visible
Tiling.animateWindow(metaWindow);
Navigator.getNavigator();
Tweener.removeTweens(space.cloneContainer);
}

Expand Down
4 changes: 4 additions & 0 deletions navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ var Navigator = class Navigator {

TopBar.fixTopBar();

Scratch.animateWindows();
this.space.startAnimate();
}

Expand Down Expand Up @@ -320,6 +321,9 @@ var Navigator = class Navigator {
}
}

if (!Tiling.inGrab)
Scratch.showWindows();

TopBar.fixTopBar();

Main.wm._blockAnimations = this._block;
Expand Down

0 comments on commit 25fcdea

Please sign in to comment.