- //if (newwidth > root.width) Dirty(root.width, 0, newwidth-root.width, newheight);
- //if (newheight > root.height) Dirty(0, root.height, newwidth, newheight-root.height);
+ if (newwidth > root.width) Dirty(root.width, 0, newwidth-root.width, newheight);
+ if (newheight > root.height) Dirty(0, root.height, newwidth, newheight-root.height);