Utilisation de constant pour le systeme

This commit is contained in:
Vincent Vandemeulebrouck
2021-11-11 02:43:38 +01:00
parent 79a7ad8b8c
commit 31d1d352f2
9 changed files with 54 additions and 44 deletions

View File

@ -7,6 +7,7 @@ import { RdDGemme } from "./rdd-gemme.js";
import { Misc } from "./misc.js";
import { HtmlUtility } from "./html-utility.js";
import { ReglesOptionelles } from "./regles-optionelles.js";
import { SYSTEM_RDD } from "./constants.js";
/**
* Extend the basic ItemSheet with some very simple modifications
@ -17,7 +18,7 @@ export class RdDItemSheet extends ItemSheet {
/** @override */
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
classes: ["foundryvtt-reve-de-dragon", "sheet", "item"],
classes: [SYSTEM_RDD, "sheet", "item"],
template: "systems/foundryvtt-reve-de-dragon/templates/item-sheet.html",
width: 550,
height: 550