Skip to content

Commit

Permalink
make menu non-opaque to hide old square white background
Browse files Browse the repository at this point in the history
  • Loading branch information
creme332 committed Jun 25, 2024
1 parent d98125d commit d85a3c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/github/creme332/view/MenuBar.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public MenuBar(MenuModel[] menus) {
// add menus to menubar
for (MenuModel menuModel : menus) {
JMenu menu = new RoundedMenu();
menu.setOpaque(false);
jmenus.add(menu);
menu.setIcon(menuModel.getActiveItem().getIcon());
menu.setToolTipText(menuModel.getActiveItem().getName());
Expand Down

0 comments on commit d85a3c7

Please sign in to comment.