diff --git a/ChangeLog.md b/ChangeLog.md index df1aae550..3ec0620fe 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -10,6 +10,7 @@ * Incompatible mods are now placed before compatible mods when joining lobby room. * Fixed text overflow in online lobby interface * Fixed jittering simultaneous turns slider after moving it twice over short period +* Fixed non-functioning slider in invite to game room dialog ### Interface * Fixed some shortcuts that were not active during the enemy's turn, such as Thieves' Guild. diff --git a/client/globalLobby/GlobalLobbyInviteWindow.cpp b/client/globalLobby/GlobalLobbyInviteWindow.cpp index ec436fea7..64a4e0026 100644 --- a/client/globalLobby/GlobalLobbyInviteWindow.cpp +++ b/client/globalLobby/GlobalLobbyInviteWindow.cpp @@ -94,7 +94,7 @@ GlobalLobbyInviteWindow::GlobalLobbyInviteWindow() }; listBackground = std::make_shared(Rect(8, 48, 220, 324), ColorRGBA(0, 0, 0, 64), ColorRGBA(64, 80, 128, 255), 1); - accountList = std::make_shared(createAccountCardCallback, Point(10, 50), Point(0, 40), 8, 0, 0, 1 | 4, Rect(200, 0, 320, 320)); + accountList = std::make_shared(createAccountCardCallback, Point(10, 50), Point(0, 40), 8, CSH->getGlobalLobby().getActiveAccounts().size(), 0, 1 | 4, Rect(200, 0, 320, 320)); buttonClose = std::make_shared(Point(86, 384), AnimationPath::builtin("MuBchck"), CButton::tooltip(), [this]() { close(); }, EShortcut::GLOBAL_RETURN );