Prettified Code!

This commit is contained in:
zero01101 2024-01-27 13:45:23 +00:00 committed by GitHub Action
parent 14b3e63e95
commit 970de24031
2 changed files with 2 additions and 3 deletions

View file

@ -1,4 +1,4 @@
<!DOCTYPE html> <!doctype html>
<html lang="en-US"> <html lang="en-US">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />

View file

@ -294,7 +294,7 @@ const stampTool = () =>
canvas.height = resource.image.height; canvas.height = resource.image.height;
canvas.getContext("2d").drawImage(resource.image, 0, 0); canvas.getContext("2d").drawImage(resource.image, 0, 0);
console.log("[Stamp]", canvas); console.log("[Stamp]", canvas);
upscaleAndDownload(false,true,canvas); upscaleAndDownload(false, true, canvas);
/* /*
downloadCanvas({ downloadCanvas({
@ -310,7 +310,6 @@ const stampTool = () =>
upscaleButton.appendChild(document.createElement("div")); upscaleButton.appendChild(document.createElement("div"));
upscaleButton.classList.add("upscale-btn"); upscaleButton.classList.add("upscale-btn");
const trashButton = document.createElement("button"); const trashButton = document.createElement("button");
trashButton.addEventListener( trashButton.addEventListener(
"click", "click",