diff options
author | bobzel <zzzman@gmail.com> | 2023-05-24 13:38:01 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-05-24 13:38:01 -0400 |
commit | f0dad2a437ac339e2d6126bdadfd7a110d9ff999 (patch) | |
tree | 7d2dcd28de25ee7d892e79760a1d2256d1588e89 /src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx | |
parent | 18b4c2ff62eb6fc3d6c1b5d0c6aeeaa785208aa6 (diff) |
more phys fixes for resizing windows.
Diffstat (limited to 'src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx')
-rw-r--r-- | src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx b/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx index 35aeb59bf..d062cc8c5 100644 --- a/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx +++ b/src/client/views/nodes/PhysicsBox/PhysicsSimulationWeight.tsx @@ -811,7 +811,14 @@ export default class Weight extends React.Component<IWeightProps, IState> { top: 0, }}> <svg width={this.panelWidth} height={this.panelHeight}> - <line x1={this.state.xPosition + this.props.radius} y1={this.state.yPosition + this.props.radius} x2={this.state.xPosition + this.props.radius} y2={this.props.yMin} stroke={'#deb887'} strokeWidth="10" /> + <line // + x1={this.state.xPosition + this.props.radius} + y1={this.state.yPosition + this.props.radius} + x2={this.state.xPosition + this.props.radius} + y2={this.props.yMin} + stroke={'#deb887'} + strokeWidth="10" + /> </svg> </div> )} |