Skip to content

Commit

Permalink
Fixed player flashed
Browse files Browse the repository at this point in the history
  • Loading branch information
osztenkurden committed Jul 8, 2022
1 parent 344785b commit 075bf86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/HUD/Radar/LexoRadar/LexoRadar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class App extends React.Component<IProps> {
const { reverseZoom } = this.props;
return (
<div key={player.id}
className={`player ${player.shooting? 'shooting':''} ${player.side} ${player.hasBomb ? 'hasBomb':''} ${player.isActive ? 'active' : ''} ${!player.isAlive ? 'dead' : ''} ${player.visible ? 'visible':'hidden'}`}
className={`player ${player.shooting? 'shooting':''} ${player.flashed ? 'flashed':''} ${player.side} ${player.hasBomb ? 'hasBomb':''} ${player.isActive ? 'active' : ''} ${!player.isAlive ? 'dead' : ''} ${player.visible ? 'visible':'hidden'}`}
style={{
transform: `translateX(${player.position[0].toFixed(2)}px) translateY(${player.position[1].toFixed(2)}px) translateZ(10px) scale(${reverseZoom})`,
width: config.playerSize * player.scale,
Expand Down
1 change: 1 addition & 0 deletions src/HUD/Radar/LexoRadar/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@ html, body, .map-container {
color: white;
font-weight: 600;
border-radius: 50%;
transition: background-color 0.5s;
-webkit-font-smoothing: crisp-edges;
font-size: 37px;
text-shadow: 4px 4px 0 black;
Expand Down

0 comments on commit 075bf86

Please sign in to comment.