Open the sub-controls for a character sheet in the same window as the main sheet (closes #3)

This commit is contained in:
Oliver 2026-02-28 00:57:38 -07:00
parent fa59ef33d2
commit 41b90d0819

View file

@ -159,7 +159,10 @@ export class PlayerSheet extends HandlebarsApplicationMixin(ActorSheetV2) {
if (this.#attributeManager.rendered) { if (this.#attributeManager.rendered) {
await this.#attributeManager.bringToFront(); await this.#attributeManager.bringToFront();
} else { } else {
await this.#attributeManager.render({ force: true }); await this.#attributeManager.render({
force: true,
window: { windowId: this.window.windowId },
});
}; };
}; };
@ -173,7 +176,10 @@ export class PlayerSheet extends HandlebarsApplicationMixin(ActorSheetV2) {
top: this.position.top + 40, top: this.position.top + 40,
left: this.position.left + ((this.position.width - 60) / 2), left: this.position.left + ((this.position.width - 60) / 2),
}, },
}).render({ force: true }); }).render({
force: true,
window: { windowId: this.window.windowId },
});
}; };
// #endregion Actions // #endregion Actions
}; };