Merge pull request #15 from Foundryborne/wojo/resize-fix

Allow PC Forms to be resizeable
This commit is contained in:
WBHarry 2025-05-23 07:26:12 +02:00 committed by GitHub
commit 959758c3aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,6 +64,17 @@ export default class PCSheet extends DaggerheartSheet(ActorSheetV2) {
useAdvancementAbility: this.useAdvancementAbility, useAdvancementAbility: this.useAdvancementAbility,
selectFeatureSet: this.selectFeatureSet, selectFeatureSet: this.selectFeatureSet,
}, },
window: {
//frame: boolean;
//positioned: boolean;
//title: string;
//icon: string | false;
//controls: ApplicationHeaderControlsEntry[];
minimizable: false,
resizable: true
//contentTag: string;
//contentClasses: string[];
},
form: { form: {
handler: this.updateForm, handler: this.updateForm,
submitOnChange: true, submitOnChange: true,
@ -2026,4 +2037,4 @@ export default class PCSheet extends DaggerheartSheet(ActorSheetV2) {
// const event = new DragEvent("drop", { altKey: game.keyboard.isModifierActive("Alt") }); // const event = new DragEvent("drop", { altKey: game.keyboard.isModifierActive("Alt") });
// return this._onDropItem(event, data); // return this._onDropItem(event, data);
// } // }
// } // }