Skip to content

Commit

Permalink
Fix 3.34 visible target
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesg99 committed Apr 2, 2020
1 parent 816b832 commit 0385ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ var animateWindowOpacity = function(window, tweenOpts) {
} else if (Config.PACKAGE_VERSION > '3.33') {
//the workaround only works on 3.35+, so on 3.34, let's just hide the
//window without animation
return windowActor.visible = (tweenOpts.opacity == 255);
return window.visible = (tweenOpts.opacity == 255);
}

Tweener.addTween(window, tweenOpts);
Expand Down

0 comments on commit 0385ff2

Please sign in to comment.