From cb55cf455ef4b4e2acc0e1e54cb1be99c131b967 Mon Sep 17 00:00:00 2001 From: brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> Date: Mon, 1 May 2023 20:47:33 -0400 Subject: something appears --- src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx | 4 ++-- src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx index 21cef297a..91627687a 100644 --- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx +++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationBox.tsx @@ -1298,7 +1298,7 @@ export default class PhysicsSimulationBox extends ViewBoxAnnotatableComponent
- + /> */} {this.dataDoc.simulationType == "Pulley" && ( { } // 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 {
); })} - {!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 { ); - })} + })} */} )} }; -- cgit v1.2.3-70-g09d2