O open project

This commit is contained in:
ckcz123 2018-11-26 15:16:36 +08:00
parent 1ef9d7b195
commit 97df004832
3 changed files with 9 additions and 4 deletions

View File

@ -1823,8 +1823,9 @@ actions.prototype.clickSwitchs = function (x,y) {
case 8:
if (core.platform.isPC)
window.open("editor.html", "_blank");
else
else if (confirm("即将离开本塔,跳转至本塔工程页面,确认?")) {
window.location.href = "editor-mobile.html";
}
break;
case 9:
if (core.platform.isPC)
@ -1910,7 +1911,7 @@ actions.prototype.clickSettings = function (x,y) {
window.open("/score.php?name="+core.firstData.name+"&num=10", "_blank");
}
else {
if (confirm("即将离开本塔,跳转至塔评论页面,确认?")) {
if (confirm("即将离开本塔,跳转至塔评论页面,确认?")) {
window.location.href = "/score.php?name="+core.firstData.name+"&num=10";
}
}

View File

@ -2483,10 +2483,11 @@ ui.prototype.drawHelp = function () {
"[A] 读取自动存档 [S/D] 存读档页面\n" +
"[K/V] 快捷商店 [ESC] 系统菜单\n" +
"[T] 道具页面 [Q] 装备页面\n" +
"[B] 数据统计 [H] 帮助页面\n" +
"[R] 回放录像 [E] 显示光标\n" +
"[B] 数据统计 [H] 帮助页面\n" +
"[R] 回放录像 [E] 显示光标\n" +
"[SPACE] 轻按 [M] 绘图模式\n" +
"[N] 返回标题页面 [P] 查看评论区\n" +
"[O] 查看工程 [F7] 打开debug穿墙模式\n" +
"[PgUp/PgDn] 浏览地图\n"+
"[1~4] 快捷使用破炸飞和其他道具\n"+
"[Alt+0~9] 快捷换装",

View File

@ -669,6 +669,9 @@ var functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a =
core.ui.closePanel();
});
break;
case 79: // O查看工程
window.open(core.platform.isPC?"editor.html":"editor-mobile.html", "_blank");
break;
case 80: // P查看评论
window.open("/score.php?name="+core.firstData.name+"&num=10", "_blank");
break;