X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2FSurface.java;h=7e23169c148078aa4f6c8966a95fbd66cc81a525;hp=d2130e39781455f5d6b12e7e1df2f88e3ce26972;hb=d892b1ff73b696e37812afd7d78c2eaae3342a0b;hpb=e0df0b5c56f582587220a134122a07b98b831067 diff --git a/src/org/ibex/Surface.java b/src/org/ibex/Surface.java index d2130e3..7e23169 100644 --- a/src/org/ibex/Surface.java +++ b/src/org/ibex/Surface.java @@ -247,8 +247,7 @@ public abstract class Surface extends PixelBuffer implements Scheduler.Task { dirty(0, root.height - Main.scarImage.height, Main.scarImage.width, Main.scarImage.height); dirty(0, root.maxheight - Main.scarImage.height, Main.scarImage.width, Main.scarImage.height); } - root.resize(root.x, root.y, root.maxwidth, root.maxheight); - root.place(); + root.reflow(); setSize(root.width, root.height); /*String oldcursor = cursor; cursor = "default";