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
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
The mapping of the BaseTexture constructor is wrong. source is declared a String but it should be js.html.Element so it can take an Image or a Canvas. Or define 2 overloads, if that's possible.
/**
* @param source {Image|Canvas} the source object of the texture.
*/
function new(source:String, ?scaleMode:Int, ?resolution:Float);
The text was updated successfully, but these errors were encountered:
The mapping of the
BaseTexture
constructor is wrong.source
is declared aString
but it should bejs.html.Element
so it can take an Image or a Canvas. Or define 2 overloads, if that's possible.The text was updated successfully, but these errors were encountered: