From 101d92ca2d3e50575c232487f7b6e0c76b023abd Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Thu, 3 May 2018 20:03:05 +0200 Subject: [PATCH] speed up animation --- .../directives/components/editor/umbeditors.directive.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js index 0362cdc37d..edb08f1066 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/components/editor/umbeditors.directive.js @@ -95,7 +95,7 @@ translateX: [100 + '%', 0], opacity: [0, 1], easing: 'easeInOutQuint', - duration: 500, + duration: 400, complete: function() { $timeout(function(){ editor.animating = false; @@ -121,7 +121,7 @@ translateX: [0, 100 + '%'], opacity: [1, 0], easing: 'easeInOutQuint', - duration: 500, + duration: 300, complete: function(a) { $timeout(function(){ scope.editors.splice(-1,1);