minus plus icon color

This commit is contained in:
Viktor Rådberg
2024-03-16 09:59:40 +01:00
parent 04c3d60967
commit 7852520f8e
3 changed files with 28 additions and 16 deletions

View File

@@ -118,9 +118,8 @@ const Health = ({
return (
<LifeContainer $rotation={player.settings.rotation}>
<LifeCounterButton
lifeTotal={player.lifeTotal}
player={player}
setLifeTotal={handleLifeChange}
rotation={player.settings.rotation}
operation="subtract"
increment={-1}
/>
@@ -148,9 +147,8 @@ const Health = ({
</LifeCounterTextContainer>
</TextWrapper>
<LifeCounterButton
lifeTotal={player.lifeTotal}
player={player}
setLifeTotal={handleLifeChange}
rotation={player.settings.rotation}
operation="add"
increment={1}
/>