name refactoring

This commit is contained in:
Luis Fernando Molina committed 2020-01-18 09:21:21 +01:00
1 parent 3389c1c64c
commit 3dd69a7aca
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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 () {
+1 -1
View File
@@ -81,7 +81,7 @@ function newChartSpace () {
}
function initialize () {
thisObject.viewport = newViewPort()
thisObject.viewport = newViewport()
thisObject.viewport.initialize()
canvasBrowserResizedEventSubscriptionId = canvas.eventHandler.listenToEvent('Browser Resized', resize)
}