Skip to content

Commit

Permalink
Merge pull request #334 from CorbinWunderlich/master
Browse files Browse the repository at this point in the history
Fix bug where a startmenu of length zero would still visible and have a shadow
  • Loading branch information
totaam authored Nov 28, 2024
2 parents 135da71 + e159d1c commit 932a9c4
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 932a9c4

Please sign in to comment.