mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 10:40:41 +00:00
less aggressively shift to hamburge (#194074)
less aggressively shift to menubar fixes #189492
This commit is contained in:
parent
15cdbeec20
commit
9187e37ffb
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue