Group all of the hotbar settings into a submenu (closes #15)
This commit is contained in:
parent
d71997a508
commit
03330973d7
6 changed files with 44 additions and 6 deletions
|
|
@ -17,6 +17,7 @@ import { DevSettingsMenu } from "./apps/DevSettingsMenu.mjs";
|
|||
|
||||
// Misc
|
||||
import { __ID__ } from "./consts.mjs";
|
||||
import { HotbarSettingsMenu } from "./apps/HotbarSettingsMenu.mjs";
|
||||
|
||||
Hooks.on(`setup`, () => {
|
||||
|
||||
|
|
@ -30,11 +31,19 @@ Hooks.on(`setup`, () => {
|
|||
addGlobalDocReferrer();
|
||||
autoUnpauseOnLoad();
|
||||
|
||||
chatSidebarBackground();
|
||||
startSidebarExpanded();
|
||||
startingSidebarTab();
|
||||
game.settings.registerMenu(__ID__, `hotbarSettings`, {
|
||||
name: `OFT.menu.hotbarSettings.name`,
|
||||
hint: `OFT.menu.hotbarSettings.hint`,
|
||||
label: `OFT.menu.hotbarSettings.label`,
|
||||
restricted: false,
|
||||
type: HotbarSettingsMenu,
|
||||
});
|
||||
hotbarButtonSize();
|
||||
hotbarButtonGap();
|
||||
repositionHotbar();
|
||||
|
||||
chatSidebarBackground();
|
||||
startSidebarExpanded();
|
||||
startingSidebarTab();
|
||||
preventUserConfigOpen();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue