แก้ coding style ภาค 8
This commit is contained in:
@@ -82,7 +82,7 @@ export default function () {
|
||||
if (y === 0) { y = jiggle(); l += y * y; }
|
||||
if (quad.data) {
|
||||
l = (l - +distance(node, quad.data)) / l * alpha;
|
||||
x *= l, y *= l;
|
||||
x *= l; y *= l;
|
||||
quad.data.vx -= x;
|
||||
quad.data.vy -= y;
|
||||
node.vx += x;
|
||||
|
||||
@@ -36,7 +36,7 @@ export default function (sim, forceS, forceF) {
|
||||
simulation = sim,
|
||||
forceSample = forceS,
|
||||
forceFull = forceF,
|
||||
event = d3.dispatch('sampleTick', 'fullTick', 'startInterp', 'end'),
|
||||
event = dispatch('sampleTick', 'fullTick', 'startInterp', 'end'),
|
||||
initAlready = false,
|
||||
nodes,
|
||||
alreadyRanIterations,
|
||||
|
||||
Reference in New Issue
Block a user