#55 Added default item height in settings

This commit is contained in:
Vlyan
2024-05-11 12:11:38 +02:00
parent 7ca9ee6cba
commit 5687a2f34b
22 changed files with 40 additions and 51 deletions

View File

@@ -53,6 +53,24 @@ export const RegisterSettings = function () {
}
});
/* ------------------------------------ */
/* Client preferences */
/* ------------------------------------ */
game.settings.register(CONFIG.l5r5e.namespace, "custom-items-windows-height", {
name: "SETTINGS.CustomItemsHeight.Title",
hint: "SETTINGS.CustomItemsHeight.Hint",
scope: "client",
config: true,
requiresReload: true,
type: Number,
range: {
min: 400,
max: 2000,
step: 50
},
default: 800,
});
/* ------------------------------------ */
/* Update */
/* ------------------------------------ */