payload properly shared
This commit is contained in:
1 parent
fdaf322278
commit
7de9979f56
6 files changed
+21
-12
No files matched your search
@@ -25,10 +25,12 @@ function newStrategyPart () {
|
||||
let floatingLayer
|
||||
let image
|
||||
let imagePath
|
||||
let payload
|
||||
|
||||
return thisObject
|
||||
|
||||
function initialize (pFloatingLayer, pType) {
|
||||
function initialize (pFloatingLayer, pType, pPayload) {
|
||||
payload = pPayload
|
||||
floatingLayer = pFloatingLayer
|
||||
|
||||
let menuItemsInitialValues = []
|
||||
@@ -239,7 +241,7 @@ function newStrategyPart () {
|
||||
}
|
||||
|
||||
thisObject.menu = newCircularMenu()
|
||||
thisObject.menu.initialize(menuItemsInitialValues)
|
||||
thisObject.menu.initialize(menuItemsInitialValues, payload)
|
||||
thisObject.menu.container.connectToParent(thisObject.container, false, false, true, true, false, false, true, true)
|
||||
|
||||
/* Load Part Image */
|
||||
|
||||
Reference in new issue
Block a user