Time Frame Sclae upgraded

This commit is contained in:
Luis Fernando Molina committed 2020-01-08 13:22:14 +01:00
1 parent 6777cc1b98
commit f9d426de7d
5 files changed
+76 -193

No files matched your search

+3 -1
View File
@@ -78,7 +78,8 @@ function newTimeMachine () {
thisObject.container.finalize()
thisObject.container = undefined
setupContainer()
mouse = undefined
}
function initialize (callBackFunction) {
@@ -216,6 +217,7 @@ function newTimeMachine () {
/* Setting up the new timeline chart. */
timelineChart.container.connectToParent(thisObject.container, true, true, false, true, true, true)
timelineChart.container.fitFunction = thisObject.container.fitFunction
timelineChart.container.frame.height = thisObject.container.frame.height
timelineChart.container.frame.position.x = thisObject.container.frame.width / 2 - timelineChart.container.frame.width / 2
timelineChart.container.frame.position.y = 0