Resolve DEV-99: Remove all menus from top bar

This commit is contained in:
Zach Fox 2019-06-04 13:25:03 -07:00
parent a79d3ea9c0
commit 19b2d35b87

View file

@ -42,11 +42,7 @@ function runNewDefaultsTogether() {
} }
// Uncomment this out once the work is actually complete. var MENU_NAMES = ["File", "Edit", "Display", "View", "Navigate", "Settings", "Developer", "Help"];
// Until then, users are required to access some functionality from the top menu bar.
//var MENU_NAMES = ["File", "Edit", "Display", "View", "Navigate", "Settings", "Developer", "Help"];
var MENU_NAMES = ["File", "Edit", "Display", "View", "Navigate", "Help",
"Settings > General...", "Settings > Controls...", "Settings > Audio...", "Settings > Graphics...", "Settings > Security..."];
var keepMenusSetting = Settings.getValue("simplifiedUI/keepMenus", false); var keepMenusSetting = Settings.getValue("simplifiedUI/keepMenus", false);
function maybeRemoveDesktopMenu() { function maybeRemoveDesktopMenu() {
if (!keepMenusSetting) { if (!keepMenusSetting) {