-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Cast.bitmapData() fails to identify data that is of type ImageTexture (i.e. lines 278 and 279 are skipped) even tho in the debugger I'm seeing that data is of such type. I believe that this is because TS's instanceof operator is not as powerful as AS3's is operator and in this case is failing to identify the type.
In code:
https://github.com/awayjs/awayjs-display/blob/master/lib/utils/Cast.ts#L278
Stack Overflow comments:
http://stackoverflow.com/questions/12789231/class-type-check-with-typescript
Metadata
Metadata
Assignees
Labels
No labels