Added token width and height for new and default tokens
This commit is contained in:
parent
75c855331a
commit
dddfb3d498
@ -109,6 +109,8 @@ function SelectTokensModal({ isOpen, onRequestClose }) {
|
|||||||
category: "character",
|
category: "character",
|
||||||
hideInSidebar: false,
|
hideInSidebar: false,
|
||||||
group: "",
|
group: "",
|
||||||
|
width: image.width,
|
||||||
|
height: image.height,
|
||||||
});
|
});
|
||||||
setImageLoading(false);
|
setImageLoading(false);
|
||||||
resolve();
|
resolve();
|
||||||
|
@ -87,6 +87,8 @@ export const tokens = Object.keys(tokenSources).map((key) => ({
|
|||||||
defaultSize: getDefaultTokenSize(key),
|
defaultSize: getDefaultTokenSize(key),
|
||||||
category: "character",
|
category: "character",
|
||||||
hideInSidebar: false,
|
hideInSidebar: false,
|
||||||
|
width: 256,
|
||||||
|
height: 256,
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export const unknownSource = unknown;
|
export const unknownSource = unknown;
|
||||||
|
Loading…
Reference in New Issue
Block a user