From 887a4f7e0fc25fde87b20a5de2e7b0aee561cc78 Mon Sep 17 00:00:00 2001 From: brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> Date: Tue, 16 May 2023 22:21:32 -0400 Subject: debugging --- src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx') diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx b/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx index a571f03f7..88af37791 100644 --- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx +++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx @@ -971,7 +971,6 @@ export default class Weight extends React.Component { className="weightContainer" onPointerDown={(e) => { if (this.draggable) { - console.log('dragging = true') this.props.dataDoc['paused'] = true; this.setState({dragging: true}); this.setState({clickPositionX: e.clientX}); @@ -980,7 +979,6 @@ export default class Weight extends React.Component { }} onPointerMove={(e) => { if (this.state.dragging) { - console.log('dragging') let newY = this.state.yPosition + e.clientY - this.state.clickPositionY; if (newY > this.props.yMax - 2 * this.props.radius - 10) { newY = this.props.yMax - 2 * this.props.radius - 10; @@ -1022,7 +1020,6 @@ export default class Weight extends React.Component { }} onPointerUp={(e) => { if (this.state.dragging) { - console.log('dragging = false') if ( this.props.dataDoc['simulationType'] != "Pendulum" && this.props.dataDoc['simulationType'] != "Suspension" @@ -1214,7 +1211,7 @@ export default class Weight extends React.Component { ) / 100} °

- +