better colors for Darcula

This commit is contained in:
Konstantin Bulenkov
2014-07-23 19:18:30 +02:00
parent c88f288bda
commit 19596b01f7
@@ -765,7 +765,7 @@ public class EditorMarkupModelImpl extends MarkupModelImpl implements EditorMark
x = isMirrored() ? width + 2 : 0;
}
if (color == null) return;
Color darker = ColorUtil.shift(color, 0.75);
Color darker = UIUtil.isUnderDarcula()? color : ColorUtil.shift(color, 0.75);
if (flatStyle) {
g.setColor(darker);