Add a world and user setting variant for the tab order instead of just a user setting
This commit is contained in:
parent
e28901dcf2
commit
621d2575ac
1 changed files with 6 additions and 2 deletions
|
|
@ -19,11 +19,15 @@ export function rearrangeSidebarTabs() {
|
|||
restricted: false,
|
||||
type: SidebarTabRearranger,
|
||||
});
|
||||
game.settings.register(__ID__, key, {
|
||||
game.settings.register(__ID__, `${key}World`, {
|
||||
scope: `world`,
|
||||
config: false,
|
||||
type: Array,
|
||||
});
|
||||
game.settings.register(__ID__, `${key}User`, {
|
||||
scope: `user`,
|
||||
config: false,
|
||||
type: Array,
|
||||
default: [],
|
||||
});
|
||||
// #endregion Registration
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue