Fix leave table UI bug

This commit is contained in:
Christoph Hagen 2021-12-22 22:09:17 +01:00
parent 788222a19a
commit 8e20a0daca

View File

@ -60,6 +60,7 @@ function showLoginElements() {
hide(elementIdGameBar) hide(elementIdGameBar)
hide(elementIdTablePlayers) hide(elementIdTablePlayers)
hide(elementIdPlayerCards) hide(elementIdPlayerCards)
hide(elementIdActionBar)
} }
function showTableListElements() { function showTableListElements() {
@ -70,6 +71,7 @@ function showTableListElements() {
hide(elementIdGameBar) hide(elementIdGameBar)
hide(elementIdTablePlayers) hide(elementIdTablePlayers)
hide(elementIdPlayerCards) hide(elementIdPlayerCards)
hide(elementIdActionBar)
} }
function showGameElements() { function showGameElements() {
@ -80,6 +82,7 @@ function showGameElements() {
setDisplayStyle(elementIdGameBar, "grid") setDisplayStyle(elementIdGameBar, "grid")
setDisplayStyle(elementIdTablePlayers, "grid") setDisplayStyle(elementIdTablePlayers, "grid")
setDisplayStyle(elementIdPlayerCards, "grid") setDisplayStyle(elementIdPlayerCards, "grid")
setDisplayStyle(elementIdActionBar, "inline-block")
} }
function showTableName(name) { function showTableName(name) {