Bug Fixed

This commit is contained in:
Luis Fernando Molina committed 2020-02-13 19:57:55 +01:00
1 parent 612c32204b
commit 05bdab8d78
4 files changed
+11 -3

No files matched your search

-1
View File
@@ -129,7 +129,6 @@ function newAnimation () {
printLabel(DEBUG.variable3, 300, 100 + row * 30, 1, 20, UI_COLOR.RED)
row++
printLabel(DEBUG.variable4, 300, 100 + row * 30, 1, 20, UI_COLOR.RED)
console.log(DEBUG.variable4)
}
} else {
browserCanvas.width = 1
+8 -1
View File
@@ -79,16 +79,23 @@ function newCoordinateSystem () {
if (thisObject.autoMaxScale === true && thisObject.max.y !== newMax) {
thisObject.max.y = newMax
newMax = -VERY_LARGE_NUMBER
mustRecalculate = true
}
if (thisObject.autoMaxScale === true) {
newMax = -VERY_LARGE_NUMBER
}
if (thisObject.autoMinScale === true && thisObject.min.y !== newMin) {
thisObject.min.y = newMin
newMin = VERY_LARGE_NUMBER
mustRecalculate = true
}
if (thisObject.autoMinScale === true) {
newMin = VERY_LARGE_NUMBER
}
if (mustRecalculate === true) {
recalculateScale()
}
+1 -1
View File
@@ -316,7 +316,7 @@ function newTimelineChart () {
}
function thisObjectPhysics () {
timelineChartCoordinateSystem.physics()
}
function syncWithDesignerLayersManager () {
+2
View File
@@ -152,6 +152,7 @@ function newRateScale () {
}
function saveObjectState () {
return
try {
let code = JSON.parse(thisObject.payload.node.code)
code.minValue = coordinateSystem.min.y
@@ -165,6 +166,7 @@ function newRateScale () {
}
function readObjectState () {
return
try {
let code = JSON.parse(thisObject.payload.node.code)