Merge pull request #72 from AAMasters/develop

BUG FIXED when detaching and re attaching stuff
This commit is contained in:
benme authored and GitHub committed 2019-06-26 09:01:59 -03:00
commit d40a005bbb
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -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
}
+1 -1
View File
@@ -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) {