mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Frame and editor background images: turn off for non-file-editors
This commit is contained in:
+2
-1
@@ -170,7 +170,8 @@ public class EditorComponentImpl extends JComponent implements Scrollable, DataP
|
||||
myApplication.editorPaintStart();
|
||||
|
||||
try {
|
||||
Graphics2D gg = IdeBackgroundUtil.withEditorBackground(g, this);
|
||||
Graphics2D gg = !EditorUtil.isRealFileEditor(myEditor) ? (Graphics2D)g :
|
||||
IdeBackgroundUtil.withEditorBackground(g, this);
|
||||
UIUtil.setupComposite(gg);
|
||||
UISettings.setupAntialiasing(gg);
|
||||
myEditor.paint(gg);
|
||||
|
||||
Reference in New Issue
Block a user