From 3d515d3b2f084b32284d227adb3604c3b9e2df51 Mon Sep 17 00:00:00 2001 From: "Denis.Zhdanov" Date: Mon, 3 Sep 2012 12:58:01 +0400 Subject: [PATCH] IDEA-19061 Integrate the Rearranger-plugin into core-IDEA Use more suitable background color for atom node components --- .../codeStyle/arrangement/ArrangementAtomNodeComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/application/options/codeStyle/arrangement/ArrangementAtomNodeComponent.java b/platform/lang-impl/src/com/intellij/application/options/codeStyle/arrangement/ArrangementAtomNodeComponent.java index a66e960c9c0c..d4cc06133666 100644 --- a/platform/lang-impl/src/com/intellij/application/options/codeStyle/arrangement/ArrangementAtomNodeComponent.java +++ b/platform/lang-impl/src/com/intellij/application/options/codeStyle/arrangement/ArrangementAtomNodeComponent.java @@ -130,7 +130,7 @@ public class ArrangementAtomNodeComponent implements ArrangementNodeComponent { Point mouseScreenLocation = MouseInfo.getPointerInfo().getLocation(); myCloseButtonHovered = buttonBounds.contains(mouseScreenLocation); } - Color color = mySelected ? UIUtil.getTreeSelectionBackground() : UIUtil.getTabbedPaneBackground(); + Color color = mySelected ? UIUtil.getTreeSelectionBackground() : UIUtil.getPanelBackground(); Rectangle bounds = getBounds(); g.setColor(color); g.fillRoundRect(0, 0, bounds.width, bounds.height, arcSize, arcSize);