mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
less aggressively shift to hamburge (#194074)
less aggressively shift to menubar fixes #189492
This commit is contained in:
@@ -505,7 +505,7 @@ export class MenuBar extends Disposable {
|
|||||||
|
|
||||||
|
|
||||||
// If below minimium menu threshold, show the overflow menu only as hamburger menu
|
// 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) {
|
for (const menuBarMenu of showableMenus) {
|
||||||
menuBarMenu.buttonElement.style.visibility = 'hidden';
|
menuBarMenu.buttonElement.style.visibility = 'hidden';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user