mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user