make cropper a bit bigger so we can scale down instead of having to scale up to 128×128
This commit is contained in:
@@ -120,10 +120,6 @@ textarea {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#crop canvas {
|
||||
height: 32vh;
|
||||
}
|
||||
|
||||
#preview {
|
||||
width: 256px;
|
||||
height: 256px;
|
||||
|
||||
@@ -78,7 +78,7 @@ async function run() {
|
||||
const textareaGameDataInput = el("game-data");
|
||||
const textareaGameDataOutput = el("output");
|
||||
|
||||
const cropper = new Cropper({ width: 128, height: 128 });
|
||||
const cropper = new Cropper({ width: 192, height: 192 });
|
||||
let cropperRendered = false;
|
||||
|
||||
// hide all pages except start page
|
||||
|
||||
Reference in New Issue
Block a user