omero-iviewer icon indicating copy to clipboard operation
omero-iviewer copied to clipboard

iviewer controls

Open barrettMCW opened this issue 2 years ago • 2 comments

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

barrettMCW avatar Sep 21 '22 17:09 barrettMCW

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

will-moore avatar Sep 22 '22 09:09 will-moore

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!

barrettMCW avatar Oct 05 '22 16:10 barrettMCW