aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx
diff options
context:
space:
mode:
authorbrynnchernosky <56202540+brynnchernosky@users.noreply.github.com>2023-05-01 17:36:33 -0400
committerbrynnchernosky <56202540+brynnchernosky@users.noreply.github.com>2023-05-01 17:36:33 -0400
commit993210bb011e326edb93b4654a1f97850e7c9ee8 (patch)
tree9aeba8540ffce99975813218885d4248a4408baa /src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx
parent2d4401a0591cf8032f2d17d0bf982ce00a7ce8c4 (diff)
refactorweight
Diffstat (limited to 'src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx')
-rw-r--r--src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx
index bdc76048c..35a7ee346 100644
--- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx
+++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx
@@ -1281,6 +1281,7 @@ export default class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<Fi
<div className="mechanicsSimulationElements">
<Weight
dataDoc={this.dataDoc}
+ layoutDoc={this.layoutDoc}
adjustPendulumAngle={this.dataDoc.adjustPendulumAngle}
gravity={this.dataDoc.gravity}
circularMotionRadius={this.dataDoc.circularMotionRadius}
@@ -1329,6 +1330,7 @@ export default class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<Fi
{this.dataDoc.simulationType == "Pulley" && (
<Weight
dataDoc={this.dataDoc}
+ layoutDoc={this.layoutDoc}
adjustPendulumAngle={this.dataDoc.adjustPendulumAngle}
circularMotionRadius={this.dataDoc.circularMotionRadius}
gravity={this.dataDoc.gravity}