]> source.dussan.org Git - vaadin-framework.git/commitdiff
#1744 Should not check for reversed position here
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Wed, 30 May 2012 14:56:51 +0000 (14:56 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Wed, 30 May 2012 14:56:51 +0000 (14:56 +0000)
svn changeset:23855/svn branch:6.8

src/com/vaadin/terminal/gwt/client/ui/VSplitPanel.java

index d998c3e5b4aa2a18cdd8469078aa7f729dd37d3a..613ec47f57dfee0db6fdefb6964a558fb7d4ef32 100644 (file)
@@ -394,10 +394,6 @@ public class VSplitPanel extends ComplexPanel implements Container,
             if (posAsInt + getSplitterSize() >= offsetLength) {
                 posAsInt = offsetLength;
             }
-            // Reversed position
-            if (positionReversed) {
-                posAsInt = offsetLength - posAsInt - getSplitterSize();
-            }
             posAsFloat = ((float) posAsInt / (float) offsetLength * 100);
 
         } else {