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 94791e8 commit 42571e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions client/src/commonMain/kotlin/ui/waitingRoom.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand Down Expand Up @@ -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)

}
Expand Down

0 comments on commit 42571e6

Please sign in to comment.