Added token width and height for new and default tokens

This commit is contained in:
Mitchell McCaffrey 2020-10-22 16:09:27 +11:00
parent 75c855331a
commit dddfb3d498
2 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,8 @@ function SelectTokensModal({ isOpen, onRequestClose }) {
category: "character",
hideInSidebar: false,
group: "",
width: image.width,
height: image.height,
});
setImageLoading(false);
resolve();

View File

@ -87,6 +87,8 @@ export const tokens = Object.keys(tokenSources).map((key) => ({
defaultSize: getDefaultTokenSize(key),
category: "character",
hideInSidebar: false,
width: 256,
height: 256,
}));
export const unknownSource = unknown;