less aggressively shift to hamburge (#194074)

less aggressively shift to menubar
fixes #189492
This commit is contained in:
SteVen Batten
2023-09-25 17:02:10 -07:00
committed by GitHub
parent 15cdbeec20
commit 9187e37ffb

View File

@@ -505,7 +505,7 @@ export class MenuBar extends Disposable {
// If below minimium menu threshold, show the overflow menu only as hamburger menu
if (this.numMenusShown - 1 <= showableMenus.length / 2) {
if (this.numMenusShown - 1 <= showableMenus.length / 4) {
for (const menuBarMenu of showableMenus) {
menuBarMenu.buttonElement.style.visibility = 'hidden';
}