diff options
author | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-05-01 20:47:33 -0400 |
---|---|---|
committer | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-05-01 20:47:33 -0400 |
commit | cb55cf455ef4b4e2acc0e1e54cb1be99c131b967 (patch) | |
tree | 09e163ff9d6154f034461b692f0bda08bb80341d /src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx | |
parent | da534b9792907492e2287fbe4b4f932fde994fa0 (diff) |
something appears
Diffstat (limited to 'src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx')
-rw-r--r-- | src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx | 10 |
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> )} }; |