Closed kgar closed 2 weeks ago
The default sheets recently added some delineation between Token and Prototype Token icons on the sheet header. Do likewise, because it is a nice touch and gives some visual difference.
The default sheets approach, found in sheet-v2-mixin.mjs:
sheet-v2-mixin.mjs
/** @inheritDoc */ _getHeaderButtons() { const buttons = super._getHeaderButtons(); const tokenButton = buttons.find(b => b.class === "configure-token"); if ( tokenButton && this.actor.isToken ) tokenButton.icon = "far fa-user-circle"; return buttons; }
This will be implemented for App V2 sheets only.
The default sheets recently added some delineation between Token and Prototype Token icons on the sheet header. Do likewise, because it is a nice touch and gives some visual difference.
The default sheets approach, found in
sheet-v2-mixin.mjs
: