From 6511cfe28a1ada703e2d509f5eefb23a5f6aff61 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Sat, 5 Mar 2022 14:21:18 +0300 Subject: [PATCH] [PE] Refactoring --- apps/presentationeditor/main/app/controller/Animation.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/presentationeditor/main/app/controller/Animation.js b/apps/presentationeditor/main/app/controller/Animation.js index 0da847d72..358d9d869 100644 --- a/apps/presentationeditor/main/app/controller/Animation.js +++ b/apps/presentationeditor/main/app/controller/Animation.js @@ -546,11 +546,11 @@ define([ this.lockToolbar(PE.enumLock.noMoveAnimationLater, this._state.noMoveAnimationLater); if (this._state.noMoveAnimationEarlier != undefined) this.lockToolbar(PE.enumLock.noMoveAnimationEarlier, this._state.noMoveAnimationEarlier); - if (PE.enumLock.noAnimationPreview != undefined) + if (this._state.noAnimationPreview != undefined) this.lockToolbar(PE.enumLock.noAnimationPreview, this._state.noAnimationPreview); - if (PE.enumLock.noAnimationRepeat != undefined) + if (this._state.noAnimationRepeat != undefined) this.lockToolbar(PE.enumLock.noAnimationRepeat, this._state.noAnimationRepeat); - if (PE.enumLock.noAnimationDuration != undefined) + if (this._state.noAnimationDuration != undefined) this.lockToolbar(PE.enumLock.noAnimationDuration, this._state.noAnimationDuration); }