Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce0203 committed Aug 7, 2023
1 parent 2720d2c commit 7b913db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/commonMain/kotlin/ui/waitingRoom.kt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import kotlin.math.max
class WaitingRoomState {
val padding = 25f
lateinit var profileSize: Size
lateinit var profiles: Container
lateinit var profiles: UIVerticalStack
lateinit var chats: Container
lateinit var space: Container
lateinit var scroll: CustomUIScrollable
Expand Down Expand Up @@ -135,6 +135,7 @@ suspend fun WaitingRoomState.waitingRoom(room: UUID) {
chat("${username}이(가) 서버를 떠났습니다")

profiles.removeChildrenIf { index, child -> child.getExtra("profile") == username }
profiles.relayout()
}
onEvent(PacketEvent) { event ->
val packet = event.packet
Expand Down

0 comments on commit 7b913db

Please sign in to comment.