diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d573b4c..6fb6857 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,7 +83,7 @@ jobs: .\install.ps1 -RunAsAdmin scoop install gh echo "${{ secrets.GITHUB_TOKEN }}" > token - gh auth login --with-token < token + gh auth login --with-token | token ./gradlew :client:linkReleaseExecutableMingwX64 Compress-Archive -Path .\client\build\bin\mingwX64\releaseExecutable -DestinationPath .\client\build\bin\mingwX64\client.zip Get-ChildItem -Path . -File -Recurse diff --git a/client/src/commonMain/kotlin/ui/waitingRoom.kt b/client/src/commonMain/kotlin/ui/waitingRoom.kt index a3febae..e9bda97 100644 --- a/client/src/commonMain/kotlin/ui/waitingRoom.kt +++ b/client/src/commonMain/kotlin/ui/waitingRoom.kt @@ -133,8 +133,7 @@ suspend fun WaitingRoomState.waitingRoom(room: UUID) { if (packet !is PlayerLeavePacket) return@onEvent val username = packet.username chat("${username}이(가) 서버를 떠났습니다") - - profiles.removeChildrenIf { index, child -> child.getExtra("profile") == username } + profiles.removeChildrenIf { _, child -> child.getExtra("profile") == username } profiles.relayout() } onEvent(PacketEvent) { event -> @@ -168,7 +167,7 @@ fun WaitingRoomState.profile(name: String, container: Container, profileSize: Si scaleXY = profileImageSize.width / size.width }//}.centerYOn(this) uiText(name) { styles.textAlignment = TextAlignment.MIDDLE_LEFT } - .alignX(this, -1.0, true) + .alignX(this, 0.85, false) .alignY(this, 0.15, true) }