开启高清UI

This commit is contained in:
ckcz123 2020-10-30 17:47:10 +08:00
parent d1df7eac73
commit 40e6510e84
3 changed files with 2 additions and 9 deletions

View File

@ -659,12 +659,6 @@ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {
"_type": "checkbox",
"_docs": "虚化前景层",
"_data": "是否虚化前景层;如果此项开启,则在游戏中事件层有东西(如宝石等)时虚化前景层。"
},
"enableHDCanvas": {
"_leaf": true,
"_type": "checkbox",
"_docs": "高清UI",
"_data": "是否使用高清UI"
}
}
}

View File

@ -332,7 +332,7 @@ core.prototype._init_sys_flags = function () {
if (core.values.floorChangeTime == null) core.values.floorChangeTime = 500;
if (main.mode != 'editor') {
core.domStyle.scale = core.getLocalStorage('scale', 1);
if (core.flags.enableHDCanvas) core.domStyle.ratio = window.devicePixelRatio || 1;
core.domStyle.ratio = window.devicePixelRatio || 1;
}
}

View File

@ -482,7 +482,6 @@ var data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
"enableMoveDirectly": true,
"enableRouteFolding": true,
"disableShopOnDamage": false,
"blurFg": false,
"enableHDCanvas": true
"blurFg": false
}
}