mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-03-20 08:46:43 +00:00
[UI/UX] Moving the "Run History" option to title phase (#5139)
Co-authored-by: damocleas <damocleas25@gmail.com>
This commit is contained in:
parent
38e2abc059
commit
4cc62c9d76
@ -150,6 +150,14 @@ export class TitlePhase extends Phase {
|
|||||||
},
|
},
|
||||||
keepOpen: true
|
keepOpen: true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: i18next.t("menu:runHistory"),
|
||||||
|
handler: () => {
|
||||||
|
globalScene.ui.setOverlayMode(Mode.RUN_HISTORY);
|
||||||
|
return true;
|
||||||
|
},
|
||||||
|
keepOpen: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: i18next.t("menu:settings"),
|
label: i18next.t("menu:settings"),
|
||||||
handler: () => {
|
handler: () => {
|
||||||
|
@ -21,7 +21,6 @@ enum MenuOptions {
|
|||||||
GAME_SETTINGS,
|
GAME_SETTINGS,
|
||||||
ACHIEVEMENTS,
|
ACHIEVEMENTS,
|
||||||
STATS,
|
STATS,
|
||||||
RUN_HISTORY,
|
|
||||||
EGG_LIST,
|
EGG_LIST,
|
||||||
EGG_GACHA,
|
EGG_GACHA,
|
||||||
MANAGE_DATA,
|
MANAGE_DATA,
|
||||||
@ -508,10 +507,6 @@ export default class MenuUiHandler extends MessageUiHandler {
|
|||||||
ui.setOverlayMode(Mode.GAME_STATS);
|
ui.setOverlayMode(Mode.GAME_STATS);
|
||||||
success = true;
|
success = true;
|
||||||
break;
|
break;
|
||||||
case MenuOptions.RUN_HISTORY:
|
|
||||||
ui.setOverlayMode(Mode.RUN_HISTORY);
|
|
||||||
success = true;
|
|
||||||
break;
|
|
||||||
case MenuOptions.EGG_LIST:
|
case MenuOptions.EGG_LIST:
|
||||||
if (globalScene.gameData.eggs.length) {
|
if (globalScene.gameData.eggs.length) {
|
||||||
ui.revertMode();
|
ui.revertMode();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user