summaryrefslogtreecommitdiff
path: root/frontend/src/components/lobby/RadialPlayerList.jsx
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-07-04 21:44:10 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-07-05 00:31:58 +0200
commit8ffe800ce6f64611be26c249cdb4dcb16b7d0c1a (patch)
treeeec90c5923693e725a7e20ddfbb5285d787cf4c9 /frontend/src/components/lobby/RadialPlayerList.jsx
parentPlace current player always at the bottom (diff)
downloadseven-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.jsx2
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}/>;
bgstack15