VCS: correctly restore details splitter position

This commit is contained in:
irengrig
2012-02-24 11:29:37 +04:00
parent 2410f7559c
commit cb5592b153
@@ -52,7 +52,7 @@ public class PseudoSplitter extends Splitter {
public void fixFirst(final float proportion) {
assert getFirstComponent() != null;
int comp = getSizeForComp(this);
myFirstFixedSize = (int)(comp * proportion);
myFirstFixedSize = (int)(comp * proportion - getDividerWidth());
myFirstIsFixed = true;
mySecondIsFixed = false;
}