IDEA-89417 Editor: Avoid VCS hint paint artifacts

Looks like the problem is that editor scroll animator has enough time to tick before paint request scheduled by the DirtyRegionManager is actually executed
This commit is contained in:
Denis.Zhdanov
2012-07-30 15:25:11 +04:00
parent 3b70854b2b
commit 4486a6c55d
@@ -366,7 +366,7 @@ public class LightweightHint extends UserDataHolderBase implements Hint {
LayoutFocusTraversalPolicyExt.setOverridenDefaultComponent(null);
}
layeredPane.repaint(bounds.x, bounds.y, bounds.width, bounds.height);
layeredPane.paintImmediately(bounds.x, bounds.y, bounds.width, bounds.height);
}
}
}