This commit is contained in:
Luis Fernando Molina committed 2020-02-14 11:54:01 +01:00
1 parent 276b23f823
commit 11a3d80d6a
4 files changed
-7

No files matched your search

-1
View File
@@ -567,7 +567,6 @@ function newCanvas () {
function onMouseClick (event) {
try {
console.log('ignoreNextClick', ignoreNextClick)
if (ignoreNextClick === true) {
ignoreNextClick = false
return
-1
View File
@@ -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
-2
View File
@@ -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
}
}
-3
View File
@@ -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
}