name refactoring
This commit is contained in:
1 parent
3389c1c64c
commit
3dd69a7aca
2 files changed
+3
-3
No files matched your search
@@ -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 () {
|
||||
|
||||
@@ -81,7 +81,7 @@ function newChartSpace () {
|
||||
}
|
||||
|
||||
function initialize () {
|
||||
thisObject.viewport = newViewPort()
|
||||
thisObject.viewport = newViewport()
|
||||
thisObject.viewport.initialize()
|
||||
canvasBrowserResizedEventSubscriptionId = canvas.eventHandler.listenToEvent('Browser Resized', resize)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user