move toast to top of screen, fix button height

This commit is contained in:
AlecM33
2022-12-17 15:18:05 -05:00
parent 3b37585640
commit 6b81e4616a
2 changed files with 2 additions and 1 deletions

View File

@@ -76,7 +76,7 @@ export class Lobby {
setSocketHandlers () {
this.socket.on(globals.EVENT_IDS.PLAYER_JOINED, (player, gameIsFull) => {
toast(player.name + ' joined!', 'success', false, true, 'short');
toast(player.name + ' joined!', 'success', true, true, 'short');
this.stateBucket.currentGameState.people.push(player);
this.stateBucket.currentGameState.isFull = gameIsFull;
this.populatePlayers();