feat: 屏蔽canvas setShadow 方法,基础库修复后再放出来

master
luqianyu 2020-12-18 14:54:42 +08:00
parent 007b535807
commit b13d43be2f
1 changed files with 6 additions and 6 deletions

View File

@ -222,12 +222,12 @@ example.setGlobalAlpha = function (context) {
})
}
example.setShadow = function (context) {
context.beginPath()
context.setShadow(10, 10, 10, 'rgba(0, 0, 0, 199)')
context.rect(10, 10, 100, 100)
context.fill()
}
// example.setShadow = function (context) {
// context.beginPath()
// context.setShadow(10, 10, 10, 'rgba(0, 0, 0, 199)')
// context.rect(10, 10, 100, 100)
// context.fill()
// }
example.setFontSize = function (context) {
[10, 20, 30, 40].forEach(function (item, index) {