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:
parent
aa9cbee8b4
commit
8252a354cb
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ export class DS4ActorSheet extends foundry.applications.api.DocumentSheetV2 {
|
||||||
const attr = "img";
|
const attr = "img";
|
||||||
const current = this.document.img;
|
const current = this.document.img;
|
||||||
|
|
||||||
const fp = new FilePicker({
|
const fp = new foundry.applications.apps.FilePicker({
|
||||||
type: "image",
|
type: "image",
|
||||||
current: current,
|
current: current,
|
||||||
callback: (path) => {
|
callback: (path) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue