mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-98421 - IAE: XmlTagTreeHighlightingUtil.makeTransparent
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ public class XmlTagTreeBreadcrumbsPresentationProvider extends BreadcrumbsPresen
|
||||
@Override
|
||||
public Color getBackgroundColor(boolean selected, boolean hovered, boolean light) {
|
||||
final Color baseColor = super.getBackgroundColor(selected, hovered, light);
|
||||
return myColor != null
|
||||
return myColor != null && baseColor != null
|
||||
? XmlTagTreeHighlightingUtil.makeTransparent(myColor, baseColor, 0.1)
|
||||
: baseColor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user