From 970de24031362f3f9dbe8f777ffdbe22e4bdb162 Mon Sep 17 00:00:00 2001 From: zero01101 Date: Sat, 27 Jan 2024 13:45:23 +0000 Subject: [PATCH] Prettified Code! --- index.html | 2 +- js/ui/tool/stamp.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index e0fa89e..c26dda0 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + diff --git a/js/ui/tool/stamp.js b/js/ui/tool/stamp.js index 8870258..d847cf0 100644 --- a/js/ui/tool/stamp.js +++ b/js/ui/tool/stamp.js @@ -294,7 +294,7 @@ const stampTool = () => canvas.height = resource.image.height; canvas.getContext("2d").drawImage(resource.image, 0, 0); console.log("[Stamp]", canvas); - upscaleAndDownload(false,true,canvas); + upscaleAndDownload(false, true, canvas); /* downloadCanvas({ @@ -310,7 +310,6 @@ const stampTool = () => upscaleButton.appendChild(document.createElement("div")); upscaleButton.classList.add("upscale-btn"); - const trashButton = document.createElement("button"); trashButton.addEventListener( "click",