break out header into own PART

This commit is contained in:
jalensailin
2025-07-18 22:47:29 -04:00
parent ae41353658
commit 0480a7ac6c
3 changed files with 415 additions and 330 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ import {
const { ActorSheetV2 } = foundry.applications.sheets;
/** * @extends {ActorSheetV2} */
/** @extends {DGSheetMixin(ActorSheetV2)} */
export default class DeltaGreenActorSheet extends DGSheetMixin(ActorSheetV2) {
/** @override */
static DEFAULT_OPTIONS = /** @type {const} */ ({
@@ -34,8 +34,8 @@ export default class DeltaGreenActorSheet extends DGSheetMixin(ActorSheetV2) {
});
static PARTS = /** @type {const} */ ({
main: {
template: `systems/${DG.ID}/templates/actor/actor-sheet.html`,
header: {
template: `${this.TEMPLATE_PATH}/actor/parts/header.html`,
},
tabs: {
template: `templates/generic/tab-navigation.hbs`, // From FoundryVTT