Mobile highlight canvas
This commit is contained in:
parent
8e2cb367df
commit
ccae1b9ba1
@ -1166,6 +1166,20 @@ editor.prototype.listen = function () {
|
||||
[bgc,fgc,evc,ev2c].forEach(function (x) {
|
||||
x.style.opacity = 1;
|
||||
});
|
||||
|
||||
// 手机端....
|
||||
if (editor.isMobile) {
|
||||
if (layerMod.value == 'bgmap') {
|
||||
[fgc,evc,ev2c].forEach(function (x) {
|
||||
x.style.opacity = 0.3;
|
||||
});
|
||||
}
|
||||
if (layerMod.value == 'fgmap') {
|
||||
[bgc,evc,ev2c].forEach(function (x) {
|
||||
x.style.opacity = 0.3;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var layerMod2=document.getElementById('layerMod2');
|
||||
|
||||
@ -2121,7 +2121,7 @@ control.prototype.doSL = function (id, type) {
|
||||
alert("无效的存档");
|
||||
return;
|
||||
}
|
||||
if (core.isset(data.hashCode) && data.hashCode != core.utils.hashCode(data.hero)) {
|
||||
if (core.flags.checkConsole && core.isset(data.hashCode) && data.hashCode != core.utils.hashCode(data.hero)) {
|
||||
if (confirm("存档校验失败,请勿修改存档文件!\n你想回放此存档的录像吗?")) {
|
||||
core.startGame(data.hard, data.hero.flags.__seed__, core.decodeRoute(data.route));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user