Bug Fixed
This commit is contained in:
1 parent
612c32204b
commit
05bdab8d78
4 files changed
+11
-3
No files matched your search
@@ -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
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
@@ -316,7 +316,7 @@ function newTimelineChart () {
|
||||
}
|
||||
|
||||
function thisObjectPhysics () {
|
||||
|
||||
timelineChartCoordinateSystem.physics()
|
||||
}
|
||||
|
||||
function syncWithDesignerLayersManager () {
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user