mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-13 12:14:09 +00:00
wowzers
This commit is contained in:
1 parent
228dfa9e00
commit
81fe0ad6f5
1 file changed
+4
-2
+4
-2
@@ -3369,7 +3369,7 @@
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.resize-canvas-stack { position: relative; transform-origin: top left; }
|
||||
.resize-canvas-stack { position: relative; transform-origin: center center; display: inline-block; }
|
||||
.resize-base-canvas, .resize-mask-canvas {
|
||||
position: absolute; left: 0; top: 0;
|
||||
image-rendering: pixelated;
|
||||
@@ -5091,7 +5091,9 @@
|
||||
widthValue.textContent = newWidth;
|
||||
heightValue.textContent = newHeight;
|
||||
|
||||
ensureMaskSize(newWidth, newHeight);
|
||||
ensureMaskSize(newWidth, newHeight);
|
||||
canvasStack.style.width = newWidth + 'px';
|
||||
canvasStack.style.height = newHeight + 'px';
|
||||
baseCtx.imageSmoothingEnabled = false;
|
||||
if (!state.availableColors || state.availableColors.length === 0) {
|
||||
if (baseProcessor !== processor && (!baseProcessor.img || !baseProcessor.canvas)) {
|
||||
|
||||
Reference in new issue
Block a user