Skip to content

Commit

Permalink
Fix bug where a startmenu of length zero would still visible and have…
Browse files Browse the repository at this point in the history
… a shadow
  • Loading branch information
CorbinWunderlich committed Nov 28, 2024
1 parent 135da71 commit e159d1c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions html5/js/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2724,6 +2724,10 @@ class XpraClient {
li.append(ul);
startmenu.append(li);
}

if (this.xdg_menu.length === 0) {
startmenu.children().css("box-shadow", "none");
}
}

_process_setting_change(packet) {
Expand Down

0 comments on commit e159d1c

Please sign in to comment.