make embeds less huge for neo boxels
This commit is contained in:
parent
77892000cb
commit
7e35461f1b
1 changed files with 2 additions and 3 deletions
5
lib.js
5
lib.js
|
@ -52,9 +52,8 @@ async function splitUp(content) {
|
||||||
|
|
||||||
if (contentJson.pal) {
|
if (contentJson.pal) {
|
||||||
ext = '!neoboxels';
|
ext = '!neoboxels';
|
||||||
console.log(Object.keys(contentJson))
|
width = contentJson.width;
|
||||||
width = contentJson.width * 4;
|
height = contentJson.height;
|
||||||
height = contentJson.height *4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
out[i] = { type: 'file', path, ext, content, width, height };
|
out[i] = { type: 'file', path, ext, content, width, height };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue