Haven't been able to see any non-repainting without this on my mac, and this was causing the whole screen to be dirtied once a second when the countdown timer in a seamonster battle ticked.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@292 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -121,12 +121,6 @@ public class ActiveRepaintManager extends RepaintManager
|
||||
Log.info("Invalidating " + toString(vroot) + ".");
|
||||
}
|
||||
_invalid = ListUtil.add(_invalid, vroot);
|
||||
|
||||
// on the mac, components frequently do not repaint themselves after being invalidated
|
||||
// so we have to force a repaint from the validation roon on down
|
||||
if (RunAnywhere.isMacOS() && vroot instanceof JComponent) {
|
||||
addDirtyRegion((JComponent)vroot, 0, 0, vroot.getWidth(), vroot.getHeight());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user