cleaning
This commit is contained in:
1 parent
d5de76c3c6
commit
a23e17244a
3 files changed
+4
-6
No files matched your search
@@ -74,12 +74,6 @@ function newFloatingLayer() {
|
||||
if (container !== undefined) { return container }
|
||||
}
|
||||
|
||||
for (let i = 0; i < invisibleFloatingObjects.length; i++) {
|
||||
let floatingObject = invisibleFloatingObjects[i]
|
||||
container = floatingObject.getContainer(point)
|
||||
if (container !== undefined) { return container }
|
||||
}
|
||||
|
||||
return container
|
||||
}
|
||||
|
||||
|
||||
@@ -111,9 +111,12 @@ function newFloatingObject() {
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
|
||||
if (thisObject.payload === undefined) { return }
|
||||
if ((thisObject.isCollapsed === true && thisObject.collapsedManually === false) || thisObject.isParentCollapsed === true) { return }
|
||||
if (canvas.floatingSpace.inMapMode === true) { return }
|
||||
|
||||
let container
|
||||
|
||||
container = thisObject.payload.uiObject.getContainer(point)
|
||||
|
||||
@@ -242,6 +242,7 @@ function newUiObject() {
|
||||
}
|
||||
|
||||
function getContainer(point) {
|
||||
|
||||
let container
|
||||
|
||||
if (isDragging === false && thisObject.isOnFocus === true) {
|
||||
|
||||
Reference in new issue
Block a user