BUG related to SPLICE fixed
This commit is contained in:
1 parent
7a571383ec
commit
b66ccc8182
3 files changed
+20
-18
No files matched your search
@@ -326,6 +326,11 @@ function newStrategyPart () {
|
||||
/* Here we do the trick of recalculation the position of the anchor by setting it to the position of its parent */
|
||||
let parentFloatingObject = floatingLayer.getFloatingObject(pFloatingObject.payload.parentNode.handle)
|
||||
|
||||
if (parentFloatingObject === undefined) {
|
||||
console.log(pFloatingObject)
|
||||
console.log('Now')
|
||||
}
|
||||
|
||||
pFloatingObject.payload.position.x = parentFloatingObject.container.frame.position.x
|
||||
pFloatingObject.payload.position.y = parentFloatingObject.container.frame.position.y
|
||||
|
||||
|
||||
Reference in new issue
Block a user