mozilla / webmaker-addons

Prototypes for add-ons. Gateways from browser to Webmaker.
http://mozilla.github.io/webmaker-addons/
4 stars 2 forks source link

Importing an image doesn't always put it at the top of the composition #60

Closed toolness closed 9 years ago

toolness commented 9 years ago

This often happens when there are already other images in the composition but the sidebar wasn't showing before the image was added; firebase hasn't yet synced with the iframe, and the new image is pushed onto the composition as the sole image. Moments later, firebase is synced and the pre-existing images appear atop the one that was just added.

At least, that's what I think is going on.

xmatthewx commented 9 years ago

Interesting. Good catch. Can we assign a z-index of 100 to any new item added, but iterate from 10 for things coming via firebase?