mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-11 06:11:50 +09:00
musicplayer: actually repositioning the ui
This commit is contained in:
@@ -113,7 +113,7 @@ abstract class UICanvas(
|
||||
get() = mouseUp && Terrarum.mouseDown
|
||||
|
||||
private val _mouseUpThis: Boolean
|
||||
get() = relativeMouseX in 0..width - 1 && relativeMouseY in 0..height - 1
|
||||
get() = relativeMouseX in 0 until width && relativeMouseY in 0 until height
|
||||
|
||||
/** Called by the screen */
|
||||
fun update(delta: Float) {
|
||||
|
||||
Reference in New Issue
Block a user