mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Correctly process editor background color (IDEA-71081)
This commit is contained in:
@@ -1670,7 +1670,7 @@ public final class EditorImpl extends UserDataHolderBase implements EditorEx, Hi
|
||||
|
||||
private Color getBackgroundColor(final TextAttributes attributes) {
|
||||
final Color attrColor = attributes.getBackgroundColor();
|
||||
return attrColor == myScheme.getDefaultBackground() ? getBackgroundColor() : attrColor;
|
||||
return Comparing.equal(attrColor, myScheme.getDefaultBackground()) ? getBackgroundColor() : attrColor;
|
||||
}
|
||||
|
||||
private Color getBackgroundIgnoreForced() {
|
||||
|
||||
Reference in New Issue
Block a user