bug fixed
This commit is contained in:
1 parent
54b27cd584
commit
a3fef54edd
2 files changed
+3
-3
No files matched your search
@@ -461,7 +461,7 @@ function newTimeMachine () {
|
||||
timelineChart.container.frame.height = thisObject.container.frame.height
|
||||
timelineChart.container.frame.position.x = 0
|
||||
timelineChart.container.frame.position.y = 0
|
||||
timelineChart.initialize(timeMachineCoordinateSystem)
|
||||
timelineChart.initialize(timeMachineCoordinateSystem, timeFrame)
|
||||
|
||||
/* we will store the event suscription id as a property of the timelineChart, to avoid keeping it an a separate array */
|
||||
timelineChart.onChildrenMouseOverEventSuscriptionId = timelineChart.container.eventHandler.listenToEvent('onChildrenMouseOver', onChildrenMouseOver)
|
||||
|
||||
@@ -135,14 +135,14 @@ function newTimelineChart () {
|
||||
thisObject.container.frame.width = thisObject.container.parentContainer.frame.width
|
||||
}
|
||||
|
||||
function initialize (pTimeMachineCoordinateSystem) {
|
||||
function initialize (pTimeMachineCoordinateSystem, pTimeFrame) {
|
||||
/* We load the logow we will need for the background. */
|
||||
|
||||
timeMachineCoordinateSystem = pTimeMachineCoordinateSystem
|
||||
coordinateSystem = timeMachineCoordinateSystem
|
||||
initializeCoordinateSystem()
|
||||
|
||||
timeFrame = INITIAL_TIME_PERIOD
|
||||
timeFrame = pTimeFrame
|
||||
|
||||
onMouseOverEventSuscriptionId = thisObject.container.eventHandler.listenToEvent('onMouseOver', onMouseOver)
|
||||
onMouseNotOverEventSuscriptionId = thisObject.container.eventHandler.listenToEvent('onMouseNotOver', onMouseNotOver)
|
||||
|
||||
Reference in new issue
Block a user