Closed hharshas closed 4 months ago
Earlier, the image was displayed via backgroundImage api, so its only way to resize it was to resize '#mainCanvas' div ~ entire page, that will be no good.
I tried to use existing Globe 'TYPE_Rectangle' by adding bitmap (easel js) to it, but many other component are "TYPE_RECTANGLE" and it is hassle to make each component behave same after these changes (This is my final result but bitmap fills image in parent element).
Final solution that i can understand is creating a unique Globe type "TYPE_IMAGE" and working with it, that may takes time. If someone is willing to help me with this then i will continue. #1551
Please send your PR to the dev branch since it's not related to Sugarizer v2.