diff options
-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}) } |