UiOBject refactoring

This commit is contained in:
Luis Fernando Molina committed 2019-10-26 18:33:35 +02:00
1 parent e349604e3b
commit d99f6994ed
2 files changed
+2 -2

No files matched your search

@@ -1,5 +1,5 @@
function newStrategyPartConstructor () {
function uiObjectConstructor () {
const MODULE_NAME = 'Strategy Part Constructor'
const ERROR_LOG = true
const logger = newWebDebugLog()
+1 -1
View File
@@ -67,7 +67,7 @@ function newFloatingSpace () {
thisObject.noteSets = newNoteSets()
thisObject.noteSets.initialize(thisObject.floatingLayer)
thisObject.strategyPartConstructor = newStrategyPartConstructor()
thisObject.strategyPartConstructor = uiObjectConstructor()
thisObject.strategyPartConstructor.initialize(thisObject.floatingLayer)
thisObject.container.eventHandler.listenToEvent('onMouseWheel', onMouseWheel)