bug fixed, scale not moving

This commit is contained in:
Luis Fernando Molina committed 2020-01-11 14:08:08 +01:00
1 parent f51155a84c
commit 82c78b40d0
1 file changed
+2 -2
+2 -2
View File
@@ -203,7 +203,7 @@ function newTimelineChart () {
thisObject.container.eventHandler.raiseEvent('Dimmensions Changed', event)
})
thisObject.rateScale.initialize(timelineChartCoordinateSystem, thisObject.container)
thisObject.rateScale.initialize(timelineChartCoordinateSystem, thisObject.container.parentContainer)
rateScaleMouseOverEventSuscriptionId = thisObject.rateScale.container.eventHandler.listenToEvent('onMouseOver', rateScaleMouseOver)
@@ -225,7 +225,7 @@ function newTimelineChart () {
}
})
thisObject.timeFrameScale.initialize(timeMachineCoordinateSystem, thisObject.container)
thisObject.timeFrameScale.initialize(timeMachineCoordinateSystem, thisObject.container.parentContainer)
timeFrameScaleMouseOverEventSuscriptionId = thisObject.timeFrameScale.container.eventHandler.listenToEvent('onMouseOver', timeFrameScaleMouseOver)