mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 20:51:07 +01:00
Correction for prototypeToken
This commit is contained in:
parent
40dda1067f
commit
595fd48efe
3 changed files with 90 additions and 2 deletions
|
|
@ -35,6 +35,7 @@ export default class DhTokenConfig extends foundry.applications.sheets.TokenConf
|
|||
async _prepareAppearanceTab() {
|
||||
const context = await super._prepareAppearanceTab();
|
||||
context.tokenSizes = CONFIG.DH.ACTOR.tokenSize;
|
||||
context.tokenSize = this.document.actor.system.size;
|
||||
context.usesActorSize = this.token.actor?.system?.metadata?.usesSize;
|
||||
context.actorSizeDisable = context.usesActorSize && this.token.actor.system.size !== 'custom';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue