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