mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-12 11:34:05 +09:00
changed a label for 'return to main menu' to 'quit' because some players are reported to think 'return to main menu' would close the ESC menu
This commit is contained in:
@@ -34,7 +34,7 @@ class UIInventoryEscMenu(val full: UIInventoryFull) : UICanvas() {
|
|||||||
"MENU_OPTIONS_CONTROLS",
|
"MENU_OPTIONS_CONTROLS",
|
||||||
"MENU_CONTROLS_KEYBOARD",
|
"MENU_CONTROLS_KEYBOARD",
|
||||||
"MENU_LABEL_LANGUAGE",
|
"MENU_LABEL_LANGUAGE",
|
||||||
"MENU_LABEL_MAINMENU",
|
"MENU_LABEL_QUIT",
|
||||||
)
|
)
|
||||||
private val gameMenuListHeight = DEFAULT_LINE_HEIGHT * gameMenu.size
|
private val gameMenuListHeight = DEFAULT_LINE_HEIGHT * gameMenu.size
|
||||||
private val gameMenuListWidth = 400
|
private val gameMenuListWidth = 400
|
||||||
@@ -51,7 +51,7 @@ class UIInventoryEscMenu(val full: UIInventoryFull) : UICanvas() {
|
|||||||
defaultSelection = null
|
defaultSelection = null
|
||||||
)
|
)
|
||||||
private val areYouSureMainMenuButtons = UIItemTextButtonList(
|
private val areYouSureMainMenuButtons = UIItemTextButtonList(
|
||||||
this, DEFAULT_LINE_HEIGHT, arrayOf("MENU_LABEL_RETURN_MAIN_QUESTION", "MENU_LABEL_RETURN_MAIN", "MENU_LABEL_CANCEL"),
|
this, DEFAULT_LINE_HEIGHT, arrayOf("MENU_LABEL_QUIT_CONFIRM", "MENU_LABEL_QUIT", "MENU_LABEL_CANCEL"),
|
||||||
(width - gameMenuListWidth) / 2,
|
(width - gameMenuListWidth) / 2,
|
||||||
INVENTORY_CELLS_OFFSET_Y() + (INVENTORY_CELLS_UI_HEIGHT - (DEFAULT_LINE_HEIGHT * 3)) / 2,
|
INVENTORY_CELLS_OFFSET_Y() + (INVENTORY_CELLS_UI_HEIGHT - (DEFAULT_LINE_HEIGHT * 3)) / 2,
|
||||||
gameMenuListWidth, DEFAULT_LINE_HEIGHT * 3,
|
gameMenuListWidth, DEFAULT_LINE_HEIGHT * 3,
|
||||||
|
|||||||
Reference in New Issue
Block a user