mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 03:24:06 +09:00
fixed a bug where storagechest would not show anything on the item slot; changed inventory UI so that it would sync with the Toolkit.Theme
This commit is contained in:
@@ -23,7 +23,7 @@ import org.lwjgl.opengl.GL20
|
||||
object Toolkit : Disposable {
|
||||
|
||||
object Theme {
|
||||
val COL_INVENTORY_CELL_BORDER = Color(1f, 1f, 1f, 0.2f)
|
||||
val COL_INVENTORY_CELL_BORDER = Color(1f, 1f, 1f, 0.25f)
|
||||
val COL_CELL_FILL = Color(0x28282888)
|
||||
|
||||
val COL_LIST_DEFAULT = Color.WHITE
|
||||
|
||||
@@ -105,7 +105,9 @@ abstract class UICanvas(
|
||||
}
|
||||
|
||||
|
||||
/** A function that is run ONCE when the UI is requested to be opened; will work identical to [endOpening] if [openCloseTime] is zero */
|
||||
open fun show() {}
|
||||
/** A function that is run ONCE when the UI is requested to be closed; will work identical to [endClosing] if [openCloseTime] is zero */
|
||||
open fun hide() {}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user