diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2018-07-04 21:44:10 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2018-07-05 00:31:58 +0200 |
commit | 8ffe800ce6f64611be26c249cdb4dcb16b7d0c1a (patch) | |
tree | eec90c5923693e725a7e20ddfbb5285d787cf4c9 /frontend/src/components/lobby/RadialPlayerList.jsx | |
parent | Place current player always at the bottom (diff) | |
download | seven-wonders-8ffe800ce6f64611be26c249cdb4dcb16b7d0c1a.tar.gz seven-wonders-8ffe800ce6f64611be26c249cdb4dcb16b7d0c1a.tar.bz2 seven-wonders-8ffe800ce6f64611be26c249cdb4dcb16b7d0c1a.zip |
Refactor radial math stuff
Diffstat (limited to 'frontend/src/components/lobby/RadialPlayerList.jsx')
-rw-r--r-- | frontend/src/components/lobby/RadialPlayerList.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/lobby/RadialPlayerList.jsx b/frontend/src/components/lobby/RadialPlayerList.jsx index 0a148c78..911c0d91 100644 --- a/frontend/src/components/lobby/RadialPlayerList.jsx +++ b/frontend/src/components/lobby/RadialPlayerList.jsx @@ -43,7 +43,7 @@ export const RadialPlayerList = ({players, owner, currentPlayer}: RadialPlayerLi const tableImg = <img src={roundTable} alt='Round table' style={{width: 200, height: 200}}/>; return <RadialList items={completeWithPlaceholders(playerItems)} centerElement={tableImg} - diameter={350} + radius={175} offsetDegrees={180} itemWidth={120} itemHeight={100}/>; |