window-manager: Fix variable name
In _shouldAnimate() _animationBlockCount was referred to as _animationsBlocked, fix this. https://bugzilla.gnome.org/show_bug.cgi?id=662394
This commit is contained in:
parent
2b6c5bb416
commit
b71e66c335
@ -160,7 +160,7 @@ WindowManager.prototype = {
|
||||
},
|
||||
|
||||
_shouldAnimate : function(actor) {
|
||||
if (Main.overview.visible || this._animationsBlocked > 0)
|
||||
if (Main.overview.visible || this._animationBlockCount > 0)
|
||||
return false;
|
||||
if (actor && (actor.meta_window.get_window_type() != Meta.WindowType.NORMAL))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user