mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-33162 - IAE: TabContentLayout.drawToBuffer
This commit is contained in:
@@ -44,6 +44,7 @@ public class IdeRepaintManager extends RepaintManager {
|
||||
WeakReference<JComponent> myLastComponent;
|
||||
|
||||
public Image getVolatileOffscreenBuffer(Component c, int proposedWidth, int proposedHeight) {
|
||||
if (proposedWidth <= 0 || proposedHeight <= 0) return null;
|
||||
final Image buffer = super.getVolatileOffscreenBuffer(c, proposedWidth, proposedHeight);
|
||||
clearLeakyImages(false); // DisplayChangedListener might be unavailable
|
||||
return buffer;
|
||||
|
||||
Reference in New Issue
Block a user