Skip to content
New issue

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

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

Already on GitHub? # to your account

Moving points #532

Merged
merged 2 commits into from
Jul 6, 2021
Merged

Moving points #532

merged 2 commits into from
Jul 6, 2021

Conversation

r7rohan
Copy link
Contributor

@r7rohan r7rohan commented Jul 4, 2021

Moving points - Milestone 2

Moving points #523

Contains

  • Moving-points feature - an annotation extension

I have added a general annotation utility of moving points in which the user can drag annotation after drawing it. I tested it, it works well in all scenarios (zoom, shape) (with smartpen as well).
Currently, only the draw tool utilizes this feature.

Why?

It's easier for users to drag and get perfect annotations than drawing it.

ezgif com-gif-maker

Code details

Added in openseadragon-canvas-draw-overlay (in the startDrawing, Drawing, __endNewfeature, misc functions)

Further reading

My blog

Feel free to provide suggestions, improvements, contributions. And please review

@birm birm self-requested a review July 6, 2021 13:14
Copy link
Member

@birm birm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is nice, just worth noting that this doesn't work in the multi annotation mode.

@birm birm merged commit 5f53c89 into camicroscope:develop Jul 6, 2021
This was referenced Aug 5, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants