diff options
author | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-02-06 20:11:42 -0500 |
---|---|---|
committer | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-02-06 20:11:42 -0500 |
commit | 717ffd4dcde6e683ec7feee2720b4cf856ff636f (patch) | |
tree | 39fc9b981b00c8860d54ae2df0b9116216ed11da /src/client/views/nodes/PhysicsSimulationApp.tsx | |
parent | 728db020856e3ff5c11e7eabbb4fe48f10a9a490 (diff) |
debugging and UI
Diffstat (limited to 'src/client/views/nodes/PhysicsSimulationApp.tsx')
-rw-r--r-- | src/client/views/nodes/PhysicsSimulationApp.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/nodes/PhysicsSimulationApp.tsx b/src/client/views/nodes/PhysicsSimulationApp.tsx index 1dfa04a31..608a38f1a 100644 --- a/src/client/views/nodes/PhysicsSimulationApp.tsx +++ b/src/client/views/nodes/PhysicsSimulationApp.tsx @@ -96,7 +96,7 @@ export default class App extends React.Component<{}, IState> { showForceMagnitudes: false, showForces: false, showVelocity: false, - simulationPaused: false, + simulationPaused: true, simulationReset: false, simulationType: "Inclined Plane", sketching: false, @@ -307,6 +307,9 @@ export default class App extends React.Component<{}, IState> { componentDidMount() { + // Add weight + this.addWeight() + // Add listener for SHIFT key, which determines if sketch force arrow will be edited or deleted on click document.addEventListener("keydown", (e) => { if (e.shiftKey) { |