From f37b2673b48fb26f14ae9501fa37ff996ae70591 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Thu, 30 Aug 2018 12:31:30 +0800 Subject: [PATCH] View project in menu --- libs/actions.js | 5 ++++- libs/ui.js | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libs/actions.js b/libs/actions.js index ecf7269b..8e47e24b 100644 --- a/libs/actions.js +++ b/libs/actions.js @@ -1596,9 +1596,12 @@ actions.prototype.clickSwitchs = function (x,y) { core.ui.drawSwitchs(); break; case 7: - window.open(core.firstData.name+".zip", "_blank"); + window.open(core.platform.isPC?"editor.html":"editor-mobile.html", "_blank"); break; case 8: + window.open(core.firstData.name+".zip", "_blank"); + break; + case 9: core.status.event.selection=0; core.ui.drawSettings(); break; diff --git a/libs/ui.js b/libs/ui.js index 66996dbd..b5e02741 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -800,6 +800,7 @@ ui.prototype.drawSwitchs = function() { "临界显伤: "+(core.flags.displayCritical ? "[ON]" : "[OFF]"), "领域显伤: "+(core.flags.displayExtraDamage ? "[ON]" : "[OFF]"), "单击瞬移: "+(core.status.automaticRoute.clickMoveDirectly ? "[ON]" : "[OFF]"), + "查看工程", "下载离线版本", "返回主菜单" ];