Skip to content

Commit

Permalink
fixed stage orientation in auto modal
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-j-liu committed Oct 30, 2024
1 parent adaec76 commit 883486a
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions app/src/components/games/crescendo/CrescendoField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,21 @@ export const CrescendoField = ({
}}>
<Svg
height="100"
width="100"
viewBox="0 0 16 16"
fill="#8886FF"
style={{transform: [{rotate: '30deg'}]}}>
width="100"
strokeWidth="1"
stroke={selectedAlliance === 'blue' ? '#0b6fdf' : '#e43737'}
fill="#404040"
// fill="#000000"
// style={{transform: [{rotate: '30deg'}]}}>
style={ fieldOrientation === 'leftBlue'
? selectedAlliance === 'blue'
? {transform: [{rotate: '30deg'}]}
: {transform: [{rotate: '210deg'}]}
: selectedAlliance === 'blue'
? {transform: [{rotate: '210deg'}]}
: {transform: [{rotate: '30deg'}]}
}>
<Path d="M7.022 1.566a1.13 1.13 0 0 1 1.96 0l6.857 11.667c.457.778-.092 1.767-.98 1.767H1.144c-.889 0-1.437-.99-.98-1.767z" />
</Svg>
</View>
Expand Down

0 comments on commit 883486a

Please sign in to comment.