diff options
author | Jouni Koivuviita <jouni@vaadin.com> | 2014-06-13 10:23:19 +0300 |
---|---|---|
committer | Jouni Koivuviita <jouni@vaadin.com> | 2014-06-18 07:55:47 +0000 |
commit | 02855b224dbc2ce9e906644da48f2b5a3303b5fe (patch) | |
tree | 93f5d6ce05a8a93d40b173ccf3fea26ef2668c2c | |
parent | 61a76c2013bc0c0c93ac542fd6aa15140a4ed1e2 (diff) | |
download | vaadin-framework-02855b224dbc2ce9e906644da48f2b5a3303b5fe.tar.gz vaadin-framework-02855b224dbc2ce9e906644da48f2b5a3303b5fe.zip |
Fix VOverlay animation-out jitter
An improper fix to an issue with the closing animation that was left
there mistakenly.
Change-Id: I645c6983058fb128cf060a3c7bb2766cb47e3a81
-rw-r--r-- | client/src/com/vaadin/client/ui/VOverlay.java | 2 |
1 files changed, 0 insertions, 2 deletions
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<PopupPanel> { }); } 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<PopupPanel> { if (animationName == null) { animationName = ""; } - setVisible(true); if (animationName.contains(ADDITIONAL_CLASSNAME_ANIMATE_OUT)) { // Disable GWT PopupPanel closing animation if used |