From 11a3d80d6a12f8e0898784aeff1689f04fa907cf Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Fri, 14 Feb 2020 11:54:01 +0100 Subject: [PATCH] Cleaning --- Canvas.js | 1 - ChartsSpace/TimeMachine.js | 1 - Scales/AutoScaleButton.js | 2 -- Scales/RateScale.js | 3 --- 4 files changed, 7 deletions(-) diff --git a/Canvas.js b/Canvas.js index 9920a5ccc..7a29f3d29 100644 --- a/Canvas.js +++ b/Canvas.js @@ -567,7 +567,6 @@ function newCanvas () { function onMouseClick (event) { try { - console.log('ignoreNextClick', ignoreNextClick) if (ignoreNextClick === true) { ignoreNextClick = false return diff --git a/ChartsSpace/TimeMachine.js b/ChartsSpace/TimeMachine.js index 4391283f8..223b4a0ed 100644 --- a/ChartsSpace/TimeMachine.js +++ b/ChartsSpace/TimeMachine.js @@ -278,7 +278,6 @@ function newTimeMachine () { for (let i = 0; i < thisObject.timelineCharts.length; i++) { container = thisObject.timelineCharts[i].getContainer(point, purpose) if (container !== undefined) { - console.log('IN TIME MACHINE GOT THIS CONTAINER: ' + container.name) if (container.isForThisPurpose(purpose)) { if (thisObject.container.frame.isThisPointHere(point) === true) { return container diff --git a/Scales/AutoScaleButton.js b/Scales/AutoScaleButton.js index 4add5d534..0bfd649e2 100644 --- a/Scales/AutoScaleButton.js +++ b/Scales/AutoScaleButton.js @@ -88,9 +88,7 @@ function newAutoScaleButton () { } function getContainer (point, purpose) { - console.log('INSIDE BUTTON') if (thisObject.container.frame.isThisPointHere(point, true) === true) { - console.log('RETURNING BUTTON FROM BUTTON') return thisObject.container } } diff --git a/Scales/RateScale.js b/Scales/RateScale.js index e89378762..907136c4b 100644 --- a/Scales/RateScale.js +++ b/Scales/RateScale.js @@ -150,12 +150,9 @@ function newRateScale () { } function getContainer (point, purpose) { - console.log(purpose, point.x, point.y) if (thisObject.container.frame.isThisPointHere(point, true) === true) { - console.log('INSIDE') let container = autoScaleButton.getContainer(point, purpose) if (container !== undefined) { - console.log('RETURNING BUTTON FROM SCALE') return container }