diff options
author | Sauli Tähkäpää <sauli@vaadin.com> | 2014-11-13 11:53:30 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-11-13 13:17:58 +0000 |
commit | ee6f9483f36eeeecf32730016d02fb22e5cbaab3 (patch) | |
tree | a83acc2f2648b30c8f1bc0a95dbd64d0fed344f4 /client | |
parent | c7d698cc57e2c2baba5d168d65e061789d973054 (diff) | |
download | vaadin-framework-ee6f9483f36eeeecf32730016d02fb22e5cbaab3.tar.gz vaadin-framework-ee6f9483f36eeeecf32730016d02fb22e5cbaab3.zip |
Revert "Position tooltips in the visible area (#15129)."
This reverts commit aacb2f8289bc2faaab1225bd8b0dacd873d7839a.
Changed causes a regression where an empty tooltip appears
while the application is initialising.
Change-Id: I0e0c8ae38975a2ba3835172652e4737f4bc67e6b
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/VTooltip.java | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/client/src/com/vaadin/client/VTooltip.java b/client/src/com/vaadin/client/VTooltip.java index 2fb5a8a293..edd1273bf5 100644 --- a/client/src/com/vaadin/client/VTooltip.java +++ b/client/src/com/vaadin/client/VTooltip.java @@ -210,10 +210,6 @@ public class VTooltip extends VOverlay { x = Window.getClientWidth() - offsetWidth - MARGIN + Window.getScrollLeft(); } - // Do not allow x to be zero, for otherwise the tooltip does - // not close when the mouse is moved (see isTooltipOpen()). - int minX = Window.getScrollLeft() + MARGIN; - x = Math.max(x, minX); return x; } @@ -249,10 +245,6 @@ public class VTooltip extends VOverlay { y = Window.getScrollTop(); } } - // Do not allow y to be zero, for otherwise the tooltip does - // not close when the mouse is moved (see isTooltipOpen()). - int minY = Window.getScrollTop() + MARGIN; - y = Math.max(y, minY); return y; } }); |