Make it so external images are handled correctly by the module
This commit is contained in:
parent
ef63860922
commit
bf7a89e4a7
3 changed files with 6 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ const { HandlebarsApplicationMixin, ApplicationV2 } = foundry.applications.api;
|
|||
const { FormDataExtended } = foundry.applications.ux;
|
||||
const { deepClone } = foundry.utils;
|
||||
|
||||
const PAGE_SIZE = 8;
|
||||
const PAGE_SIZE = 48;
|
||||
|
||||
export class ArtBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
|
||||
// #region Options
|
||||
|
|
@ -237,6 +237,7 @@ export class ArtBrowser extends HandlebarsApplicationMixin(ApplicationV2) {
|
|||
// Populate ephemeral data for rendering
|
||||
image.id = id;
|
||||
image.selected = this.#selected.has(imagePath(image));
|
||||
image.path = imagePath(image);
|
||||
|
||||
// Convert all of the artist IDs into the actual data
|
||||
image.artists = image.artists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue