note neede
This commit is contained in:
1 parent
b4d5c763cb
commit
c270163a83
2 files changed
-2
No files matched your search
@@ -181,7 +181,6 @@ function newRateScale () {
|
||||
function saveObjectState () {
|
||||
try {
|
||||
let code = JSON.parse(thisObject.payload.node.code)
|
||||
code.scale = undefined
|
||||
code.offset = thisObject.offset
|
||||
code.minValue = coordinateSystem.min.y
|
||||
code.maxValue = coordinateSystem.max.y
|
||||
|
||||
@@ -135,7 +135,6 @@ function newTimeScale () {
|
||||
function saveObjectState () {
|
||||
try {
|
||||
let code = JSON.parse(thisObject.payload.node.code)
|
||||
code.scale = undefined
|
||||
code.fromDate = (new Date(coordinateSystem.min.x)).toISOString()
|
||||
code.toDate = (new Date(coordinateSystem.max.x)).toISOString()
|
||||
thisObject.payload.node.code = JSON.stringify(code, null, 4)
|
||||
|
||||
Reference in new issue
Block a user