mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-11 02:54:04 +09:00
click on palette item to select it
This commit is contained in:
@@ -30,8 +30,8 @@ class UIItemInlineRadioButtons(
|
||||
private fun getCellX(i: Int) = posX - 3 + cellWidth * i + 3 * (i + 1)
|
||||
|
||||
override fun update(delta: Float) {
|
||||
val mx = relativeMouseX
|
||||
val my = relativeMouseY
|
||||
val mx = itemRelativeMouseX
|
||||
val my = itemRelativeMouseY
|
||||
mouseOnSelection = -1
|
||||
val oldSelection = selection
|
||||
if (my in 0 until height) {
|
||||
|
||||
Reference in New Issue
Block a user