timeScale implementation completed

This commit is contained in:
Luis Fernando Molina committed 2020-02-12 14:55:10 +01:00
1 parent 441ae5bc1d
commit 3a58288bab
2 files changed
+7 -69

No files matched your search

-10
View File
@@ -614,16 +614,6 @@ function newTimeMachine () {
y: nextPorwerOf10(MAX_DEFAULT_RATE_SCALE_VALUE) / 4
}
if (thisObject.timeScale !== undefined) {
minValue.x = thisObject.timeScale.fromDate
maxValue.x = thisObject.timeScale.toDate
}
if (thisObject.rateScale !== undefined) {
minValue.y = thisObject.rateScale.minValue
maxValue.y = thisObject.rateScale.maxValue
}
timeMachineCoordinateSystem.initialize(
minValue,
maxValue,