summaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/terminal
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/terminal')
-rw-r--r--src/com/vaadin/terminal/gwt/client/ui/VSplitPanel.java16
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) {