Bug Fixed

This commit is contained in:
Luis Fernando Molina committed 2020-02-14 20:51:25 +01:00
1 parent 3b2c3d3d61
commit 312050b8be
4 files changed
+9 -7

No files matched your search

+2
View File
@@ -239,6 +239,8 @@ function newTimelineChart () {
timelineChartCoordinateSystem.max.x = timeMachineCoordinateSystem.max.x
timelineChartCoordinateSystem.maxHeight = timeMachineCoordinateSystem.maxHeight
timelineChartCoordinateSystem.maxWidth = timeMachineCoordinateSystem.maxWidth
timelineChartCoordinateSystem.autoMinXScale = timeMachineCoordinateSystem.autoMinXScale
timelineChartCoordinateSystem.autoMaxXScale = timeMachineCoordinateSystem.autoMaxXScale
timelineChartCoordinateSystem.recalculateScale()
}
View File
File renamed without changes.
+6 -6
View File
@@ -265,12 +265,12 @@ function newChartingSpace () {
if (thisObject.payload.node === undefined) { return }
syncWithDesignerLoop = syncWithDesignerLoop + 0.00000000001
if (thisObject.payload.node.clusters !== undefined) {
for (let i = 0; i < thisObject.payload.node.clusters.length; i++) {
let cluster = thisObject.payload.node.clusters[i]
if (cluster.timeMachines !== undefined) {
for (let j = 0; j < cluster.timeMachines.length; j++) {
let node = cluster.timeMachines[j]
if (thisObject.payload.node.dashboards !== undefined) {
for (let i = 0; i < thisObject.payload.node.dashboards.length; i++) {
let dashboard = thisObject.payload.node.dashboards[i]
if (dashboard.timeMachines !== undefined) {
for (let j = 0; j < dashboard.timeMachines.length; j++) {
let node = dashboard.timeMachines[j]
let timeMachine = timeMachinesMap.get(node.id)
if (timeMachine === undefined) {
/* The time machine node is new, thus we need to initialize a new timeMachine */
+1 -1
View File
@@ -242,7 +242,7 @@ function newDesignSpace () {
'session-based-data',
'session-independent-data',
'session-reference',
'cluster',
'dashboard',
'toggle-auto-scale-manual',
'toggle-auto-scale-auto-min-max',
'toggle-auto-scale-auto-max',