diff options
author | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-05-02 20:53:47 -0400 |
---|---|---|
committer | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-05-02 20:53:47 -0400 |
commit | 30068f771a1a6e69c43097948439855dea896e83 (patch) | |
tree | a1cae48a71ffe8ace376b009666d07ef91bc6198 /src | |
parent | 051d0b8feb3c6901788137f6c72a4bba34be2507 (diff) |
mostly works
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx | 2 | ||||
-rw-r--r-- | src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx index 5b2a30bfc..9a16c5c73 100644 --- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx +++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx @@ -107,7 +107,7 @@ export default class PhysicsSimulationBox extends ViewBoxAnnotatableComponent<Fi componentDidMount() { this.wallPositions.push({ length: 70, xPos: 0, yPos: 0, angleInDegrees: 0 }); - this.wallPositions.push({ length: 70, xPos: 0, yPos: 80, angleInDegrees: 0 }); + this.wallPositions.push({ length: 70, xPos: 0, yPos: 70, angleInDegrees: 0 }); this.wallPositions.push({ length: 80, xPos: 0, yPos: 0, angleInDegrees: 90 }); this.wallPositions.push({ length: 80, xPos: 69.5, yPos: 0, angleInDegrees: 90 }); diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx b/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx index f78f14704..c0bcd783a 100644 --- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx +++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx @@ -404,9 +404,9 @@ export default class Weight extends React.Component<IWeightProps, IState> { let w: IWallProps[] = []; if (this.props.dataDoc['simulationType'] == "One Weight" || this.props.dataDoc['simulationType'] == "Inclined Plane") { w.push({ length: 70, xPos: 0, yPos: 0, angleInDegrees: 0 }); - w.push({ length: 70, xPos: 0, yPos: 80, angleInDegrees: 0 }); - w.push({ length: 80, xPos: 0, yPos: 0, angleInDegrees: 90 }); - w.push({ length: 85, xPos: 69.5, yPos: 0, angleInDegrees: 90 }); + w.push({ length: 70, xPos: 0, yPos: 70, angleInDegrees: 0 }); + w.push({ length: 70, xPos: 0, yPos: 0, angleInDegrees: 90 }); + w.push({ length: 70, xPos: 69.5, yPos: 0, angleInDegrees: 90 }); } this.setState({walls: w}) } |