IDEA-19061 Integrate the Rearranger-plugin into core-IDEA

Use more suitable background color for atom node components
This commit is contained in:
Denis.Zhdanov
2012-09-03 14:23:03 +04:00
parent aac1f4dead
commit 3d515d3b2f
@@ -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);