From d2603f8fe5036bfb78a0e07e529dbdb768a2ed95 Mon Sep 17 00:00:00 2001 From: Sergey Evdokimov Date: Wed, 8 Aug 2012 13:56:21 +0400 Subject: [PATCH] Fix background color in Maven Tool window. --- .../main/java/org/jetbrains/idea/maven/utils/MavenUIUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenUIUtil.java b/plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenUIUtil.java index 2e6021fd386d..ff51492b2ac9 100644 --- a/plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenUIUtil.java +++ b/plugins/maven/src/main/java/org/jetbrains/idea/maven/utils/MavenUIUtil.java @@ -84,7 +84,7 @@ public class MavenUIUtil { final Color foreground = selected ? UIUtil.getTreeSelectionForeground() : UIUtil.getTreeTextForeground(); - Color background = selected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTreeTextBackground(); + Color background = selected ? UIUtil.getTreeSelectionBackground(hasFocus) : UIUtil.getTreeTextBackground(); panel.add(baseComponent, BorderLayout.CENTER); panel.setBackground(background);