Fix: let the checkerboard background style has pointer-events:none

master
cuixiping 2020-01-07 17:52:42 +08:00
parent c924a120dd
commit 6988dc4d7b
1 changed files with 1 additions and 1 deletions

View File

@ -7205,7 +7205,7 @@ this.setBackground = function (color, url) {
});
const div = document.createElement('div');
assignAttributes(div, {
style: 'width:100%;height:100%;background-image:url(data:image/gif;base64,R0lGODlhEAAQAIAAAP///9bW1iH5BAAAAAAALAAAAAAQABAAAAIfjG+gq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7);'
style: 'pointer-events:none;width:100%;height:100%;background-image:url(data:image/gif;base64,R0lGODlhEAAQAIAAAP///9bW1iH5BAAAAAAALAAAAAAQABAAAAIfjG+gq4jM3IFLJgpswNly/XkcBpIiVaInlLJr9FZWAQA7);'
});
bgPattern.appendChild(div);
bg.append(bgPattern);