#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

@@ -9,7 +9,7 @@ export class BaseItemSheetL5r5e extends ItemSheet {
classes: ["l5r5e", "sheet", "item"],
//template: CONFIG.l5r5e.paths.templates + "items/item/item-sheet.html",
width: 520,
height: 480,
height: game.settings.get(CONFIG.l5r5e.namespace, "custom-items-windows-height") || 800,
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }],
});
}