Zoomicon / READCOM_App

READ-COM: Reading Communities App
MIT License
11 stars 5 forks source link

Make area selector remember clicked object #209

Open birbilis opened 2 years ago

birbilis commented 2 years ago

Version: 0.5.12

Area selector moves top item included in area selection, but when user clicked a background object and it got wrapped with area selector, they expect to move that.

A solution in that case is when setting area selector bounds like that to also tell it to remember the child item that was clicked to move that instead (as long as it keeps it with a weak reference in case the object gets removed)

An alternative could be to move the bigger object that fits in area selector (and if some are same size pick toppest of them), but probably that wouldn't be obvious to the user