[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
|
||||
},
|
||||
{
|
||||
label: i18next.t("menu:runHistory"),
|
||||
handler: () => {
|
||||
globalScene.ui.setOverlayMode(Mode.RUN_HISTORY);
|
||||
return true;
|
||||
},
|
||||
keepOpen: true
|
||||
},
|
||||
{
|
||||
label: i18next.t("menu:settings"),
|
||||
handler: () => {
|
||||
|
|
|
@ -21,7 +21,6 @@ enum MenuOptions {
|
|||
GAME_SETTINGS,
|
||||
ACHIEVEMENTS,
|
||||
STATS,
|
||||
RUN_HISTORY,
|
||||
EGG_LIST,
|
||||
EGG_GACHA,
|
||||
MANAGE_DATA,
|
||||
|
@ -508,10 +507,6 @@ export default class MenuUiHandler extends MessageUiHandler {
|
|||
ui.setOverlayMode(Mode.GAME_STATS);
|
||||
success = true;
|
||||
break;
|
||||
case MenuOptions.RUN_HISTORY:
|
||||
ui.setOverlayMode(Mode.RUN_HISTORY);
|
||||
success = true;
|
||||
break;
|
||||
case MenuOptions.EGG_LIST:
|
||||
if (globalScene.gameData.eggs.length) {
|
||||
ui.revertMode();
|
||||
|
|
Loading…
Reference in New Issue