fix
This commit is contained in:
1 parent
9a1ee54857
commit
59620fac40
1 file changed
+1
-1
@@ -330,7 +330,7 @@ function newFloatingObject () {
|
||||
|
||||
thisObject.payload.distance = distanceToParent
|
||||
|
||||
if (distanceToParent > 2000) { return } // this is introduced to avoid edges cases when importing workspaces.
|
||||
if (distanceToParent > 2000 || thisObject.isPinned === true) { return } // this is introduced to avoid edges cases when importing workspaces.
|
||||
|
||||
newPosition = {
|
||||
x: parent.payload.position.x + distanceToParent * Math.cos(toRadians(thisObject.payload.angle)),
|
||||
|
||||
Reference in new issue
Block a user