From 02855b224dbc2ce9e906644da48f2b5a3303b5fe Mon Sep 17 00:00:00 2001 From: Jouni Koivuviita Date: Fri, 13 Jun 2014 10:23:19 +0300 Subject: Fix VOverlay animation-out jitter An improper fix to an issue with the closing animation that was left there mistakenly. Change-Id: I645c6983058fb128cf060a3c7bb2766cb47e3a81 --- client/src/com/vaadin/client/ui/VOverlay.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'client') diff --git a/client/src/com/vaadin/client/ui/VOverlay.java b/client/src/com/vaadin/client/ui/VOverlay.java index 1d653a8ff5..a4f62775e1 100644 --- a/client/src/com/vaadin/client/ui/VOverlay.java +++ b/client/src/com/vaadin/client/ui/VOverlay.java @@ -978,7 +978,6 @@ public class VOverlay extends PopupPanel implements CloseHandler { }); } else { // Check if animations are used - setVisible(false); addStyleDependentName(ADDITIONAL_CLASSNAME_ANIMATE_OUT); if (isShadowEnabled()) { shadow.addClassName(CLASSNAME_SHADOW + "-" @@ -989,7 +988,6 @@ public class VOverlay extends PopupPanel implements CloseHandler { if (animationName == null) { animationName = ""; } - setVisible(true); if (animationName.contains(ADDITIONAL_CLASSNAME_ANIMATE_OUT)) { // Disable GWT PopupPanel closing animation if used -- cgit v1.2.3