mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-07 12:21:52 +09:00
utilising new mouselatch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user