From e0a22877e26b06a9e4c434fa1d9a26da85cc5081 Mon Sep 17 00:00:00 2001 From: Charlie Groves Date: Fri, 12 Oct 2007 20:11:00 +0000 Subject: [PATCH] This seems like its been pretty happy on ice, so take off the training wheels git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@303 ed5b42cb-e716-0410-a449-f6a68f950b19 --- .../threerings/media/ActiveRepaintManager.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/java/com/threerings/media/ActiveRepaintManager.java b/src/java/com/threerings/media/ActiveRepaintManager.java index 54728d00..77416a86 100644 --- a/src/java/com/threerings/media/ActiveRepaintManager.java +++ b/src/java/com/threerings/media/ActiveRepaintManager.java @@ -122,12 +122,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() && _macDirtyOnInvalid && vroot instanceof JComponent) { - addDirtyRegion((JComponent)vroot, 0, 0, vroot.getWidth(), vroot.getHeight()); - } } } @@ -442,13 +436,6 @@ public class ActiveRepaintManager extends RepaintManager } } - /** - * Set if the Mac should dirty its validation root if a single component is invalid. - */ - public static void setMacDirtyOnInvalid(boolean dirty) { - _macDirtyOnInvalid = dirty; - } - /** The root of our interface. */ protected Component _root; @@ -469,8 +456,4 @@ public class ActiveRepaintManager extends RepaintManager /** We debug so much that we have to make it easy to enable and disable debug logging. Yay! */ protected static final boolean DEBUG = false; - - /** If true, Macs dirty the whole screen if any component is invalid */ - protected static boolean _macDirtyOnInvalid = true; - }