diff options
author | Henri Sara <henri.sara@itmill.com> | 2011-02-24 09:10:03 +0000 |
---|---|---|
committer | Henri Sara <henri.sara@itmill.com> | 2011-02-24 09:10:03 +0000 |
commit | 5d51250410c5e4f6e56237500e05c017942f88ef (patch) | |
tree | 8eeb3d7e5bbb2ff037a6e43f2435e0b693116ffb /src/com/vaadin/terminal | |
parent | 97f0dab2172151333a7c6a611fd4220aea11355e (diff) | |
download | vaadin-framework-5d51250410c5e4f6e56237500e05c017942f88ef.tar.gz vaadin-framework-5d51250410c5e4f6e56237500e05c017942f88ef.zip |
#6413 Splitter click events were not sent when split panel was reversed
svn changeset:17419/svn branch:6.5
Diffstat (limited to 'src/com/vaadin/terminal')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VSplitPanel.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/com/vaadin/terminal/gwt/client/ui/VSplitPanel.java b/src/com/vaadin/terminal/gwt/client/ui/VSplitPanel.java index 422f48b2a7..33b97d16cf 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VSplitPanel.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VSplitPanel.java @@ -536,16 +536,16 @@ public class VSplitPanel extends ComplexPanel implements Container, } } + if (origX != newX) { + resized = true; + } + // Reversed position if (positionReversed) { newX = getOffsetWidth() - newX - getSplitterSize(); } setSplitPosition(newX + "px"); - - if (origX != newX) { - resized = true; - } } private void onVerticalMouseMove(int y) { @@ -579,16 +579,16 @@ public class VSplitPanel extends ComplexPanel implements Container, } } + if (origY != newY) { + resized = true; + } + // Reversed position if (positionReversed) { newY = getOffsetHeight() - newY - getSplitterSize(); } setSplitPosition(newY + "px"); - - if (origY != newY) { - resized = true; - } } public void onMouseUp(Event event) { |