diff options
| author | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-02-07 12:21:00 -0500 |
|---|---|---|
| committer | brynnchernosky <56202540+brynnchernosky@users.noreply.github.com> | 2023-02-07 12:21:00 -0500 |
| commit | 983ffa5e10abd89448e8b3f9be65894c7b775d84 (patch) | |
| tree | 418fb75cdf956133335b865214a1239834e11b9a /src/client/views/nodes/PhysicsSimulationWall.tsx | |
| parent | 717ffd4dcde6e683ec7feee2720b4cf856ff636f (diff) | |
wall show
Diffstat (limited to 'src/client/views/nodes/PhysicsSimulationWall.tsx')
| -rw-r--r-- | src/client/views/nodes/PhysicsSimulationWall.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/views/nodes/PhysicsSimulationWall.tsx b/src/client/views/nodes/PhysicsSimulationWall.tsx index d502c066a..f6396d6a7 100644 --- a/src/client/views/nodes/PhysicsSimulationWall.tsx +++ b/src/client/views/nodes/PhysicsSimulationWall.tsx @@ -18,13 +18,12 @@ export default class App extends React.Component<IWallProps> { } wallStyle = { - width: this.props.angleInDegrees == 0 ? this.props.length + "%" : "5px", - height: this.props.angleInDegrees == 0 ? "5px" : this.props.length + "%", + width: this.props.angleInDegrees == 0 ? this.props.length + "%" : "3%", + height: this.props.angleInDegrees == 0 ? "3%" : this.props.length + "%", position: "absolute" as "absolute", left: this.props.xPos + "%", top: this.props.yPos + "%", backgroundColor: "#6c7b8b", - zIndex: -1000, margin: 0, padding: 0, }; |
