IJPL-175764 Fade-out area near the menu and project widget is missing when main menu is merged with toolbar

GitOrigin-RevId: 5654331da5f6b4cfac7a7589c87baa5b9e81ff92
This commit is contained in:
Vera Petrenkova
2025-01-30 13:31:06 +00:00
committed by intellij-monorepo-bot
parent e076183c42
commit 70f06e9a43
@@ -284,7 +284,7 @@ public class IdeaMenuUI extends BasicMenuUI {
}
private void fillBackground(Graphics g, JComponent comp, JMenu jMenu, ButtonModel buttonmodel, Icon allowedIcon) {
if (comp.isOpaque()) {
if (comp.isOpaque() && comp.getParent().isOpaque()) {
g.setColor(jMenu.getBackground());
g.fillRect(0, 0, jMenu.getWidth(), jMenu.getHeight());
}