mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-26 15:57:50 +01:00
move toast to top of screen, fix button height
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user