mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
crafting ui is on the inventory menu now
This commit is contained in:
@@ -204,7 +204,7 @@ void main() {
|
||||
|
||||
toggleKeyExtra.forEachIndexed { index, getKey ->
|
||||
if (Gdx.input.isKeyJustPressed(getKey())) {
|
||||
toggleKeyExtraAction[0].invoke(this)
|
||||
toggleKeyExtraAction[index].invoke(this)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package net.torvald.terrarum.ui
|
||||
|
||||
import com.jme3.math.FastMath
|
||||
import net.torvald.terrarum.INGAME
|
||||
import kotlin.math.absoluteValue
|
||||
import kotlin.math.roundToInt
|
||||
|
||||
@@ -40,5 +41,6 @@ class UIItemHorizontalFadeSlide(
|
||||
it.posY = it.initialY
|
||||
it.opacity = getOpacity(index)
|
||||
}
|
||||
INGAME.setTooltipMessage(null)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user