simplajs / simpla-img

An editable image you can update inline, built on Simpla
https://www.simplajs.org
MIT License
6 stars 3 forks source link

Mouseup outside img when panning / zooming should not deactivate #23

Closed bedeoverend closed 7 years ago

bedeoverend commented 9 years ago

Any mouseup events that occur outside simpla-img will deactivate it, this means that if you're panning / zooming and release the mouse after it's left the img, it will deactivate and all the controls will be hidden.

It should instead check to see if mousedown occurred inside simpla-img before mouseup to check if it started within simpla-img, and not deactivate if that's the case.

madeleineostoja commented 7 years ago

Fixed in https://github.com/SimplaElements/simpla-img/releases/tag/v1.0.0