utilising new mouselatch

This commit is contained in:
minjaesong
2024-01-10 01:46:39 +09:00
parent a149107b48
commit acaedc4d80
11 changed files with 45 additions and 40 deletions

View File

@@ -314,7 +314,7 @@ class MusicPlayer(private val ingame: TerrarumIngame) : UICanvas() {
// make button work
mouseLatch.latch {
if (mouseUp) mouseLatch.latch {
if (mouseOnButton != null) {
when (mouseOnButton) {
0 -> { // album