From 726b07e209e718bfca3a7867076ddef1b2bb6f7a Mon Sep 17 00:00:00 2001 From: trompetin17 Date: Thu, 12 Jan 2023 19:39:56 +0000 Subject: [PATCH] Fix a visual glitch which happens when you enter in lobby GUI without any game. The button "join game" have a cross line from panel description. This was SVN commit r27430. --- .../data/mods/public/gui/lobby/LobbyPage/Buttons/JoinButton.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/binaries/data/mods/public/gui/lobby/LobbyPage/Buttons/JoinButton.js b/binaries/data/mods/public/gui/lobby/LobbyPage/Buttons/JoinButton.js index f935e79b93..2f624a8c5a 100644 --- a/binaries/data/mods/public/gui/lobby/LobbyPage/Buttons/JoinButton.js +++ b/binaries/data/mods/public/gui/lobby/LobbyPage/Buttons/JoinButton.js @@ -15,6 +15,8 @@ class JoinButton gameList.gamesBox.onMouseLeftDoubleClickItem = this.onPress.bind(this); gameList.registerSelectionChangeHandler(this.onSelectedGameChange.bind(this, dialog)); + + this.onSelectedGameChange(); } onSelectedGameChange(dialog, selectedGame)