X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fcore%2FBox.java;fp=src%2Forg%2Fibex%2Fcore%2FBox.java;h=09b43aee03764a4022ab45cbbce26e5e2b8b9cf0;hp=ffec434e18da5b796e3b68d2ac3cd171ff7d12ee;hb=bae12818ee0d529ffe24886d9b5d66b869211d00;hpb=8a3ef621b25ede6e315907956e590924a0291e2a diff --git a/src/org/ibex/core/Box.java b/src/org/ibex/core/Box.java index ffec434..09b43ae 100644 --- a/src/org/ibex/core/Box.java +++ b/src/org/ibex/core/Box.java @@ -106,7 +106,7 @@ public final class Box extends JS.Obj implements Callable, Mesh.Chain { public void dirty() { if (path==null) dirty(0, 0, contentwidth, contentheight); else dirty(path); } public void dirty(int x, int y, int w, int h) { } public void dirty(Path p) { - Affine a = transform; + Affine a = transform.copy(); for(Box cur = this; cur != null; cur = cur.parent) a.premultiply(cur.transform); long hbounds = p.horizontalBounds(a); long vbounds = p.verticalBounds(a);