Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Thienel2016-07-21 13:19:22 -0400
committerFlorian Thienel2016-07-21 13:19:22 -0400
commitcb6f24bc4fde09815170578da51f91de0c0121ed (patch)
tree419b605571d116639bc96a2c54e7b0d9e166b3e7
parent50f69718d8711018c275fbf26c475e75da97e520 (diff)
downloadorg.eclipse.mylyn.docs.vex-cb6f24bc4fde09815170578da51f91de0c0121ed.tar.gz
org.eclipse.mylyn.docs.vex-cb6f24bc4fde09815170578da51f91de0c0121ed.tar.xz
org.eclipse.mylyn.docs.vex-cb6f24bc4fde09815170578da51f91de0c0121ed.zip
relocate view port on resize
Signed-off-by: Florian Thienel <florian@thienel.org>
-rw-r--r--org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java
index 8c87c3e0..7cada9be 100644
--- a/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java
+++ b/org.eclipse.vex.core/src/org/eclipse/vex/core/internal/widget/BoxView.java
@@ -77,6 +77,7 @@ public class BoxView {
@Override
public void render(final Graphics graphics) {
rootBox.setWidth(width);
+ moveViewPortToCursor(graphics);
}
};

Back to the top