Merge pull request #72 from AAMasters/develop
BUG FIXED when detaching and re attaching stuff
This commit is contained in:
2 files changed
+3
-1
No files matched your search
@@ -500,6 +500,8 @@ function newStrategyPart () {
|
||||
function onDragFinished (event) {
|
||||
if (isAttaching === true) {
|
||||
canvas.strategySpace.workspace.attachNode(thisObject.payload.node, attachToNode)
|
||||
attachToNode = undefined
|
||||
isAttaching = false
|
||||
}
|
||||
isDragging = false
|
||||
}
|
||||
|
||||
@@ -1596,7 +1596,7 @@ function newStrategyPartConstructor () {
|
||||
}
|
||||
|
||||
function setFloatingObjectBasicProperties (floatingObject, payload) {
|
||||
const FRICTION = 0.94
|
||||
const FRICTION = 0.95
|
||||
const INITIAL_FRICTION = 0.99
|
||||
|
||||
switch (payload.node.type) {
|
||||
|
||||
Reference in new issue
Block a user