Open xiaolive-me opened 3 years ago
Hi: Older version of CreateCanvasContext, the interface is outdated. (refer to RenderTarget.js constructor)
If the Canvas Type is set to 2D, the official recommended way to get the context object is const Query = wx.createSelectorQuery(). query.select('#myCanvas')
I contacted the author yesterday for the same problem, but he thought that it was ok in master. How to fix it? Thank you!
Could you submit a PR to the repo with the fixed version?
Hi: Older version of CreateCanvasContext, the interface is outdated. (refer to RenderTarget.js constructor)