Move adaptation ticks to Agent Sheet V2 left panel (#297)
Port issue #297 from reyzor/297-adaption-left-panel: adaptation incident checkboxes live in the left bar; Psychological tab is motivations/disorders only. Includes #281 tooltips on adaptation controls, adapted-label-slot spacing, locale key DG.Sheet.BlockHeaders.Adaptations (11 languages), and height 700. Age remains on the bio tab (#374). Manual port from branch reyzor/297-adaption-left-panel (@reyzor1991), not a literal cherry-pick, due to merge conflicts with v14 and extravaganza work. Co-authored-by: reyzor1991
This commit is contained in:
@@ -5,7 +5,7 @@ import ActorEditStatForm from "./edit-stats.js";
|
||||
export default class DGAgentSheetV2 extends DGAgentSheet {
|
||||
static DEFAULT_OPTIONS = /** @type {const} */ ({
|
||||
classes: ["actor-sheet-v2"],
|
||||
position: { width: 950, height: 665 },
|
||||
position: { width: 950, height: 700 },
|
||||
actions: {
|
||||
openStatsEdit: this._openStatsEdit,
|
||||
},
|
||||
@@ -17,6 +17,7 @@ export default class DGAgentSheetV2 extends DGAgentSheet {
|
||||
template: `${this.TEMPLATE_PATH}/parts/left-bar.html`,
|
||||
templates: [`${this.TEMPLATE_PATH}/partials/sanity-partial.html`],
|
||||
},
|
||||
tabs: this.BASE_PARTS.tabs,
|
||||
rightBar: {
|
||||
template: `${this.TEMPLATE_PATH}/parts/right-bar.html`,
|
||||
templates: [
|
||||
@@ -31,7 +32,6 @@ export default class DGAgentSheetV2 extends DGAgentSheet {
|
||||
`${this.TEMPLATE_PATH}/partials/notes-partial.html`,
|
||||
],
|
||||
},
|
||||
tabs: this.BASE_PARTS.tabs,
|
||||
});
|
||||
|
||||
static _openStatsEdit() {
|
||||
|
||||
Reference in New Issue
Block a user