fix wizard popups background on macs
[idea/community.git] / platform / platform-impl / src / com / intellij / ui / popup / AbstractPopup.java
index db179130e98b17ff91d3767ecc8b0d77dc97025f..5bfb2e92403cb2bd21efdc0a61aec265c62085b3 100644 (file)
@@ -1025,6 +1025,10 @@ public class AbstractPopup implements JBPopup {
       else {
         setBorder(border);
       }
+
+      if (drawMacCorner && UIUtil.isUnderAquaLookAndFeel()) {
+        setBackground(new Color(UIUtil.getPanelBackgound().getRGB()));
+      }
     }
 
     public void paint(Graphics g) {