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

ShapeRoi instances not handled properly by Overlay.translate()? #72

Closed
imagingbook opened this issue Dec 25, 2018 · 1 comment
Closed

Comments

@imagingbook
Copy link

It appears that instances of ShapeRoi are not handled properly by Overlay.translate(). The attached example creates an overlay containing two identical lines, one created as an instance of java.awt.geom.Line2D, the other is a ij.gui.Line.Line. Translating the entire overlay by (0.5, 0.5) only affects the latter, while the first line remains unchanged.

overlay-translate-test.zip

@rasband
Copy link
Member

rasband commented Dec 25, 2018

This bug is fixed in the latest daily build (1.52j39). View the code changes at
6fc0792

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