diff --git a/ChartsSpace/ViewPort.js b/ChartsSpace/ViewPort.js index c9a070ff4..edc9a7ec9 100644 --- a/ChartsSpace/ViewPort.js +++ b/ChartsSpace/ViewPort.js @@ -1,5 +1,5 @@ -function newViewPort () { +function newViewport () { const MODULE_NAME = 'Viewport' const INFO_LOG = false const INTENSIVE_LOG = false @@ -439,7 +439,7 @@ function newViewPort () { let frame = {} frame.position = position - // saveFrame(thisObject.payload, frame) + saveFrame(thisObject.payload, frame) } function readObjectState () { diff --git a/Spaces/ChartSpace.js b/Spaces/ChartSpace.js index 99a26b614..49b8cf3c0 100644 --- a/Spaces/ChartSpace.js +++ b/Spaces/ChartSpace.js @@ -81,7 +81,7 @@ function newChartSpace () { } function initialize () { - thisObject.viewport = newViewPort() + thisObject.viewport = newViewport() thisObject.viewport.initialize() canvasBrowserResizedEventSubscriptionId = canvas.eventHandler.listenToEvent('Browser Resized', resize) }