getContainer added across floating space

This commit is contained in:
Luis Fernando Molina committed 2019-05-04 18:06:21 +02:00
1 parent 7115daf686
commit 276db501b6
7 files changed
+118 -9

No files matched your search

+10
View File
@@ -12,6 +12,7 @@ function newFloatingSpace () {
profileBalls: undefined,
strategyParts: undefined,
noteSets: undefined,
getContainer: getContainer,
initialize: initialize,
finalize: finalize
}
@@ -38,5 +39,14 @@ function newFloatingSpace () {
thisObject.strategyParts = newStrategyParts()
thisObject.strategyParts.initialize(thisObject.floatingLayer)
}
function getContainer (point) {
let container
container = thisObject.floatingLayer.getContainer(point)
if (container !== undefined) { return container }
return container
}
}