fix assertion

This commit is contained in:
Konstantin Bulenkov
2018-01-22 16:59:38 +01:00
parent 3129a605dc
commit 332d37d0ec
@@ -46,7 +46,8 @@ public class JBColor extends Color {
@NotNull
@Override
public Color produce() {
return UIManager.getColor("link.foreground");
Color linkColor = UIManager.getColor("link.foreground");
return linkColor == null ? new Color(0x589df6) : linkColor;
}
});
}