Skip to content

Commit

Permalink
update for issue pharo-graphics/Roassal#19
Browse files Browse the repository at this point in the history
  • Loading branch information
akevalion committed Nov 8, 2023
1 parent 0620675 commit 6c86983
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Roassal-Layouts/RSForceBasedLayout.class.st
Expand Up @@ -320,7 +320,7 @@ RSForceBasedLayout >> repulse: aNode from: aQuad [
k := aQuad charge * dn * dn.
aNode oldPosition: p - (d * k).
^ self ].
(aQuad soleChild notNil and: [ dn < 1e9 ])
(aQuad soleChild isNotNil and: [ dn < 1e9 ])
ifTrue: [
k := aQuad soleChild charge * dn * dn * alpha.
aNode oldPosition: p - (d * k).] ] ].
Expand Down

0 comments on commit 6c86983

Please sign in to comment.