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/PhysicsSimulationWall.tsx | |
parent | 728db020856e3ff5c11e7eabbb4fe48f10a9a490 (diff) |
debugging and UI
Diffstat (limited to 'src/client/views/nodes/PhysicsSimulationWall.tsx')
-rw-r--r-- | src/client/views/nodes/PhysicsSimulationWall.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/nodes/PhysicsSimulationWall.tsx b/src/client/views/nodes/PhysicsSimulationWall.tsx index e1f753179..d502c066a 100644 --- a/src/client/views/nodes/PhysicsSimulationWall.tsx +++ b/src/client/views/nodes/PhysicsSimulationWall.tsx @@ -18,8 +18,8 @@ export default class App extends React.Component<IWallProps> { } wallStyle = { - width: this.props.angleInDegrees == 0 ? this.props.length + "%" : 0.5 + "vw", - height: this.props.angleInDegrees == 0 ? 0.5 + "vw" : this.props.length + "%", + width: this.props.angleInDegrees == 0 ? this.props.length + "%" : "5px", + height: this.props.angleInDegrees == 0 ? "5px" : this.props.length + "%", position: "absolute" as "absolute", left: this.props.xPos + "%", top: this.props.yPos + "%", |