aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx')
-rw-r--r--src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx b/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx
index 3b2c2e270..c25cb9985 100644
--- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx
+++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx
@@ -109,12 +109,12 @@ export default class Weight extends React.Component<IWeightProps, IState> {
}
// Constants
- const draggable =
+ draggable =
this.props.dataDoc['simulationType'] != "Inclined Plane" &&
this.props.dataDoc['simulationType'] != "Pendulum" &&
this.props.dataDoc['mode'] == "Freeform";
- const epsilon = 0.0001;
- const labelBackgroundColor = `rgba(255,255,255,0.5)`;
+ epsilon = 0.0001;
+ labelBackgroundColor = `rgba(255,255,255,0.5)`;
// Variables
weightStyle = {
@@ -1516,7 +1516,7 @@ export default class Weight extends React.Component<IWeightProps, IState> {
</div>
);
})}
- {!this.state.dragging &&
+ {/* {!this.state.dragging &&
this.props.showForces && this.props.updatedForces &&
this.props.updatedForces.map((force, index) => {
if (force.magnitude < this.epsilon) {
@@ -1625,7 +1625,7 @@ export default class Weight extends React.Component<IWeightProps, IState> {
</div>
</div>
);
- })}
+ })} */}
</div>
)}
};