X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=src%2Forg%2Fibex%2FSurface.java;h=d2130e39781455f5d6b12e7e1df2f88e3ce26972;hb=707b1064f56e88db0cf555a99cb4aa224484f51a;hp=e68c392463b5e8bd1a699e32d0c83ea97d05879d;hpb=a45a8fc2ca7e197f70a1e13ae22d2a49339722f8;p=org.ibex.core.git diff --git a/src/org/ibex/Surface.java b/src/org/ibex/Surface.java index e68c392..d2130e3 100644 --- a/src/org/ibex/Surface.java +++ b/src/org/ibex/Surface.java @@ -236,7 +236,7 @@ public abstract class Surface extends PixelBuffer implements Scheduler.Task { // make sure the root is properly sized do { abort = false; - root.repack(); + root.pack(); if (syncRootBoxToSurface) { root.setMaxWidth(JS.N(pendingWidth)); root.setMaxHeight(JS.N(pendingHeight)); @@ -248,7 +248,7 @@ public abstract class Surface extends PixelBuffer implements Scheduler.Task { 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_children(); + root.place(); setSize(root.width, root.height); /*String oldcursor = cursor; cursor = "default";