Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iviewer controls #423

Open
barrettMCW opened this issue Sep 21, 2022 · 2 comments
Open

iviewer controls #423

barrettMCW opened this issue Sep 21, 2022 · 2 comments

Comments

@barrettMCW
Copy link
Contributor

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
Copy link
Member

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
Copy link
Contributor Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants