mirror of
https://github.com/konvajs/konva.git
synced 2026-01-02 20:42:42 +08:00
worked through some synchronous / asynchronous issues with toDataURL and toImage(). stage toDataURL() is now asynchronous, and all other node toDataURLs is still synchronous. toImage() is now asynchronous. Kinetic.Image once again only accepts image objects, and can no longer be instantiated with a data URL or image data due to asynchronous issues. It's much cleaner for the developer to load an image however they like, and then instantiate a Kinetic.Image shape synchronously
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user