Open the sub-controls for a character sheet in the same window as the main sheet (closes #3)
This commit is contained in:
parent
fa59ef33d2
commit
41b90d0819
1 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue