You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constscrawlLayer=this.scene.layer('scrawl',{autoRender: false});// do somethingthis.scene.snapshot().then(res=>{// never run here}).catch(e=>{// never run here too})
constscrawlLayer=this.scene.layer('scrawl',{autoRender: false});// do somethingthis.scene.snapshot().then(res=>{// never run here}).catch(e=>{// never run here too})scrawLayer.draw();//这样就可以了
constscrawlLayer=this.scene.layer('scrawl',{autoRender: false});// do somethingthis.scene.snapshot().then(res=>{// never run here}).catch(e=>{// never run here too})scrawLayer.draw();//这样就可以了
首先感谢spritejs这个框架,目前已经写了两个比较有趣的项目了。
这是在项目中偶然发现的,发现移除改配置或者在截图前移除该layer后,才可截图成功,具体bug原因等我这两天忙完了再看下
The text was updated successfully, but these errors were encountered: