mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-06 08:38:30 +09:00
adjusted ui's y pos so that there's even gaps between catbar and control helper
This commit is contained in:
@@ -109,7 +109,7 @@ class UIInventoryFull(
|
|||||||
this,
|
this,
|
||||||
actor.inventory,
|
actor.inventory,
|
||||||
0 + (AppLoader.screenW - internalWidth) / 2,
|
0 + (AppLoader.screenW - internalWidth) / 2,
|
||||||
109 + (AppLoader.screenH - internalHeight) / 2
|
107 + (AppLoader.screenH - internalHeight) / 2
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -119,7 +119,7 @@ class UIInventoryFull(
|
|||||||
actor.inventory,
|
actor.inventory,
|
||||||
actor as ActorWBMovable,
|
actor as ActorWBMovable,
|
||||||
internalWidth - UIItemInventoryEquippedView.WIDTH + (AppLoader.screenW - internalWidth) / 2,
|
internalWidth - UIItemInventoryEquippedView.WIDTH + (AppLoader.screenW - internalWidth) / 2,
|
||||||
109 + (AppLoader.screenH - internalHeight) / 2
|
107 + (AppLoader.screenH - internalHeight) / 2
|
||||||
)
|
)
|
||||||
private val gameMenu = arrayOf("MENU_LABEL_MAINMENU", "MENU_LABEL_DESKTOP", "MENU_OPTIONS_CONTROLS", "MENU_OPTIONS_SOUND", "MENU_LABEL_GRAPHICS")
|
private val gameMenu = arrayOf("MENU_LABEL_MAINMENU", "MENU_LABEL_DESKTOP", "MENU_OPTIONS_CONTROLS", "MENU_OPTIONS_SOUND", "MENU_LABEL_GRAPHICS")
|
||||||
private val gameMenuListHeight = DEFAULT_LINE_HEIGHT * gameMenu.size
|
private val gameMenuListHeight = DEFAULT_LINE_HEIGHT * gameMenu.size
|
||||||
|
|||||||
Reference in New Issue
Block a user