From 7090117d8f9fb7a9e9d2d01d7ad6d5b0c7c96701 Mon Sep 17 00:00:00 2001 From: Jim Richter Date: Tue, 16 Mar 2021 16:15:16 +0100 Subject: [PATCH] chore: cleanup old console.logs --- view/src/routes/changelog.svelte | 2 -- view/src/workers/pixel-worker.ts | 2 -- 2 files changed, 4 deletions(-) diff --git a/view/src/routes/changelog.svelte b/view/src/routes/changelog.svelte index b53553e..c2dc54f 100644 --- a/view/src/routes/changelog.svelte +++ b/view/src/routes/changelog.svelte @@ -36,8 +36,6 @@ let isFound = false; const checkIfNew = (commitId) => { - console.log(commitId, currentCommit); - if (isFound) return false; if (commitId === currentCommit) { diff --git a/view/src/workers/pixel-worker.ts b/view/src/workers/pixel-worker.ts index e27882f..9ad0e1a 100644 --- a/view/src/workers/pixel-worker.ts +++ b/view/src/workers/pixel-worker.ts @@ -111,8 +111,6 @@ const createFloodFillMap = ({ pixels, x, y, width, height }: { pixels: Uint8Clam // This is the distance to the pixel that is furthest away from xy const maxDistance = distance2D((x < (width / 2)) ? width : 0, (y < (height / 2)) ? height : 0, x, y); - console.log(maxDistance) - // This the distance to the color that is furthest away from _R_G_B; let maxColorDistance = 0;