feat: implement V2-compatible portrait image editing

- Add editImage action to actor sheet actions - Use
foundry.applications.apps.FilePicker for V2 compatibility - Enable
portrait editing via click action in actor headers

Restores portrait editing functionality using proper V2 patterns.
This commit is contained in:
Alexander Minges 2025-07-12 21:55:17 +02:00
parent aa9cbee8b4
commit 8252a354cb
Signed by: Athemis
GPG key ID: 31FBDEF92DDB162B

View file

@ -616,7 +616,7 @@ export class DS4ActorSheet extends foundry.applications.api.DocumentSheetV2 {
const attr = "img";
const current = this.document.img;
const fp = new FilePicker({
const fp = new foundry.applications.apps.FilePicker({
type: "image",
current: current,
callback: (path) => {