mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
Fixed charactercreation tabs sticking after closing
This commit is contained in:
parent
67eff5d512
commit
9cbd03d3ae
1 changed files with 5 additions and 0 deletions
|
|
@ -270,6 +270,11 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async _preFirstRender(_context, _options) {
|
||||||
|
this.tabGroups.primary = 'setup';
|
||||||
|
this.tabGroups.setup = 'ancestry';
|
||||||
|
}
|
||||||
|
|
||||||
async _prepareContext(_options) {
|
async _prepareContext(_options) {
|
||||||
const context = await super._prepareContext(_options);
|
const context = await super._prepareContext(_options);
|
||||||
context.tabs = this._getTabs(this.constructor.TABS);
|
context.tabs = this._getTabs(this.constructor.TABS);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue