From 55cda1216bc2702a6d332bdce93b28bd4c3da513 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sat, 21 Oct 2023 18:04:31 +0200 Subject: [PATCH] Remove dead code --- biome-ui.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/biome-ui.js b/biome-ui.js index 96d5c7d..143998f 100644 --- a/biome-ui.js +++ b/biome-ui.js @@ -74,7 +74,6 @@ let noises = { }; function updateAreaVarsFor(noiseType) { - console.log("noiseType "+noiseType) let noise = noises[noiseType]; let is_absolute = noise.absvalue === true @@ -132,7 +131,6 @@ function updateAreaVarsFor(noiseType) { draw_heat_min = draw_min; draw_heat_max = draw_max; midpoint_heat = midpoint; - console.log("Heat= "+limit_heat_min+" - "+limit_heat_max); } else if (noiseType === "humidity") { limit_humidity_min = limit_min; limit_humidity_max = limit_max; @@ -742,7 +740,6 @@ function getNearestPointFromCanvasPos(x, y, maxDist) { } let mouseIsDown = false; let dragDropPointID = null; -let dragDropPos = null; function updatePointWhenDragged(pointID) { if (pointID !== null && !drawError) { @@ -820,14 +817,12 @@ voronoiCanvas.onmouseup = function(event) { // end drag-n-drop updatePointWhenDragged(dragDropPointID); mouseIsDown = false; - dragDropPos = null; dragDropPointID = null; } voronoiCanvas.onmouseleave = function() { // end drag-n-drop mouseIsDown = false; dragDropPointID = null; - dragDropPos = null; coordinateDisplay.innerHTML = " "; }