Mobile highlight canvas

This commit is contained in:
ckcz123 committed 2018-12-25 19:35:46 +08:00
1 parent 8e2cb367df
commit ccae1b9ba1
2 files changed
+15 -1

No files matched your search

+14
View File
@@ -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');