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
I tried to cache a container using stagegl insatance:
let newStage = new createjs.StageGL(document.createElement('canvas'), {antialias: true, transparent: true, autoPurge: -1}); myContainer.cache(0,0,100,100,1, {useGL: newStage});
But I got "TypeError: Cannot create property 'width' on boolean" error.
Look like EaselJS set "this.target.cacheCanvas = true;" but then get "width" property:
The text was updated successfully, but these errors were encountered:
This has been fixed on branch 1.1.0 and I believe on the master branch too. I recommend switching to 1.1.0 as it seems to be the most stable. It's a shame they are not updating their website or their releases with fixes.
Also, good luck if you are trying to cache with stagegl, it's a buggy nightmare in all versions.
What needs to be updated and I will see if I can help. I usually cache on StageGL to be able to see text, shapes, etc. and have not noticed anything broken.
I tried to cache a container using stagegl insatance:
let newStage = new createjs.StageGL(document.createElement('canvas'), {antialias: true, transparent: true, autoPurge: -1});
myContainer.cache(0,0,100,100,1, {useGL: newStage});
But I got "TypeError: Cannot create property 'width' on boolean" error.
Look like EaselJS set "this.target.cacheCanvas = true;" but then get "width" property:
The text was updated successfully, but these errors were encountered: