fix: miniprogram cannot recognize htmlcanvaselement (#914)

* fix: miniprogram cannot recognize htmlcanvaselement
This commit is contained in:
AZhan
2022-08-02 15:16:47 +08:00
committed by GitHub
parent cbd271bb13
commit 1c144ea78b
4 changed files with 8 additions and 7 deletions

View File

@@ -35,7 +35,8 @@ const adapterArray = [
"WebGLRenderingContext",
"WebGL2RenderingContext",
"ImageData",
"location"
"location",
"OffscreenCanvas"
];
const adapterVars = {};