more interesting splash screen wip

This commit is contained in:
minjaesong
2026-04-06 02:05:05 +09:00
parent 281146dd92
commit f3fb8a96f0
5 changed files with 79 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ class UIItemHorzSlider(
override fun update(delta: Float) {
super.update(delta)
mouseOnHandle = itemRelativeMouseX in handlePos.roundToInt() until handlePos.roundToInt() + handleWidth && itemRelativeMouseY in 0 until height
mouseOnHandle = if (!isEnabled) false else itemRelativeMouseX in handlePos.roundToInt() until handlePos.roundToInt() + handleWidth && itemRelativeMouseY in 0 until height
// update handle position and value
if (mouseUp && Terrarum.mouseDown || mouseLatched) {