feat!: display room name
BREAKING CHANGE: protocol now expects room name attribute
This commit is contained in:
@@ -35,7 +35,11 @@ object RoomView {
|
||||
val wsFinalDeathSignal = wsStream.closed.collect { case (_, false) => () }
|
||||
|
||||
div(
|
||||
className := "w-full h-full border-4 border-amber-900 flex flex-col",
|
||||
className := "w-full h-full border-4 border-amber-900 flex flex-col relative",
|
||||
div(
|
||||
className := "absolute top-2 right-2",
|
||||
child.text <-- roomStateSignal.map(st => s"Room name: '${st.roomName}'"),
|
||||
),
|
||||
OtherPlayers.render(roomStateSignal),
|
||||
TableView.renderTable(roomStateSignal),
|
||||
OwnHandControls.render(roomStateSignal),
|
||||
|
||||
Reference in New Issue
Block a user