Skip to content

Commit

Permalink
Fix preview reset animation on immediate close
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesg99 committed Apr 5, 2020
1 parent 6dbba54 commit 3e9cf87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions windowPreview.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ var PreviewMenu = Utils.defineClass({
this._endPeek();

if (immediate) {
Tweener.removeTweens(this.menu);
this._resetHiddenState();
} else {
this._animateOpenOrClose(false, () => this._resetHiddenState());
Expand Down

0 comments on commit 3e9cf87

Please sign in to comment.