Right Scale Connected

This commit is contained in:
Luis Fernando Molina committed 2019-04-11 10:47:45 +02:00
1 parent 594e4851d8
commit 41d2d8db74
3 files changed
+28 -14

No files matched your search

+8
View File
@@ -191,6 +191,7 @@ function newTimeMachine () {
}
timeScale.draw()
rigthScale.draw()
}
function getContainer (point, purpose) {
@@ -203,6 +204,13 @@ function newTimeMachine () {
}
}
container = rigthScale.getContainer(point)
if (container !== undefined) {
if (container.isForThisPurpose(purpose)) {
return container
}
}
for (let i = 0; i < this.charts.length; i++) {
container = this.charts[i].getContainer(point)
if (container !== undefined) {