BUG related to SPLICE fixed

This commit is contained in:
Luis Fernando Molina committed 2019-05-06 20:58:31 +02:00
1 parent 7a571383ec
commit b66ccc8182
3 files changed
+20 -18

No files matched your search

+5
View File
@@ -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