Skip to content

Commit

Permalink
small ui adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
naueramant committed Jul 28, 2024
1 parent cc8f935 commit 437794b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions TODOS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# TODOS

- [ ] Game image in finish dialog
- [ ] Show player personal best in chug dialog
- [ ] Add sound when chug is drawn
- [ ] Shuffle players at game start
- [ ] Show player personal best in chug dialog
- [ ] Location support
- [ ] Better independent sound handling
- [ ] Assets preloading
Expand Down
2 changes: 1 addition & 1 deletion src/components/ConfirmDialog/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from "react";

import {
Button,
Dialog,
DialogActions,
DialogContent,
DialogContentText,
DialogTitle,
Button,
} from "@mui/material";

interface ConfirmDialogProps {
Expand Down
1 change: 1 addition & 0 deletions src/views/Game/components/ChugsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ const ChugsList: FunctionComponent = () => {
display: "flex",
justifyContent: "center",
alignItems: "center",
fontWeight: "bold",
}}
variant="outlined"
key={i}
Expand Down
6 changes: 4 additions & 2 deletions src/views/Game/components/PlayerItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
List,
ListItem,
ListItemText,
Slide,
Stack,
Typography,
useTheme,
Expand Down Expand Up @@ -107,14 +108,15 @@ const PlayerItem: FunctionComponent<PlayerItemProps> = (props) => {
paddingRight: 1,
paddingLeft: 1,
height: 30,
overflow: "hidden",
}}
>
{new Array(playerMetrics.numberOfBeers).fill(0).map((_, i) => (
<Grow key={i} in={true} timeout={500}>
<Slide direction="up" key={i} in={true} timeout={500}>
<Box>
<Bottle color={color()} />
</Box>
</Grow>
</Slide>
))}
</Stack>

Expand Down

0 comments on commit 437794b

Please sign in to comment.