Automatically ordering panels working

This commit is contained in:
Luis Fernando Molina committed 2020-01-09 11:10:14 +01:00
1 parent 26d996101f
commit 33a203f4c6
2 files changed
+119 -1

No files matched your search

+3 -1
View File
@@ -201,7 +201,9 @@ function newFrame () {
y: thisObject.position.y
}
thisPoint = thisObject.parentFrame.frameThisPoint(thisPoint)
if (thisObject.parentFrame !== undefined) {
thisPoint = thisObject.parentFrame.frameThisPoint(thisPoint)
}
/* Now we check if the resulting point is whin the current Frame. */