Boutons créatures/entités #69

Change-Id: I0aeded39e99551dbe09dc988e04c1de185c1dc70
This commit is contained in:
Vincent Vandemeulebrouck
2020-12-27 22:21:08 +01:00
parent 97a6ef408d
commit 5d1cb2abec
5 changed files with 40 additions and 14 deletions

View File

@ -1,11 +1,9 @@
/**
* Extend the basic ActorSheet with some very simple modifications
* @extends {ActorSheet}
*/
import { HtmlUtility } from "./html-utility.js";
import { RdDUtility } from "./rdd-utility.js";
/* -------------------------------------------- */
export class RdDActorEntiteSheet extends ActorSheet {
@ -55,7 +53,7 @@ export class RdDActorEntiteSheet extends ActorSheet {
/** @override */
activateListeners(html) {
super.activateListeners(html);
HtmlUtility._showControlWhen($(".gm-only"), game.user.isGM);
// Everything below here is only needed if the sheet is editable
@ -119,7 +117,6 @@ export class RdDActorEntiteSheet extends ActorSheet {
this.actor.remiseANeuf();
}
});
}