ome / omero-iviewer

An OMERO.web app allowing to view images
https://www.openmicroscopy.org/omero/iviewer/
Other
18 stars 29 forks source link

iviewer controls #423

Open barrettMCW opened 1 year ago

barrettMCW commented 1 year ago

I'm trying to look into adding some better mobile controls, but I can't find where freedrawing is done. I've looked through a lot of the 'click.delegate's with no avail. Please tell me it's in here somewhere and not in ol3 hahah, thanks

will-moore commented 1 year ago

It basically extends ol3 to provide some custom Shapes etc. E.g. Rectangle There's some notes at https://github.com/ome/omero-iviewer/tree/master/docs#regions-rois

barrettMCW commented 1 year ago

I've more or less roughed it out, I'll probably have a pr by the end of next week. Do you want me to make this a config or just overwrite current control scheme? The changes are: A. Make pen always freedraw B. Enable ol/PinchRotate The idea is you navigate with your fingers and use the pen exclusively for freedrawing rois If you want me to do a config would you prefer a string config for more potential control profiles or just have a bool for my profile. Thanks!