Prettified Code!
This commit is contained in:
parent
14b3e63e95
commit
970de24031
2 changed files with 2 additions and 3 deletions
|
@ -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" />
|
||||||
|
|
|
@ -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",
|
||||||
|
|
Loading…
Reference in a new issue