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

Allow adjustment of a LocationAnnotationNode's Y screen coordinate. #230

Merged
merged 6 commits into from
Oct 11, 2019

Conversation

halmueller
Copy link
Collaborator

@halmueller halmueller commented Oct 5, 2019

Background

Existing codebase translates a LocationAnnotationNode's rendered label up by a
hardcoded factor of 1.1 * scaleFactor. This means labels are never drawn on the object
they're labeling, which is sometimes not the desired behavior.

Resolves #229.

Breaking Changes

None. New property's default value is the original 1.1 magic number.

Meta

  • Tied to Version Release(s):

PR Checklist

  • CI runs clean?
  • Appropriate label has been added to this PR (i.e., Bug, Enhancement, etc.).
  • Documentation has been added to all open, and public scoped methods and properties.
  • Changelog has been updated
  • Tests have have been added to all new features. (not a requirement, but helpful)
  • Image/GIFs have been added for all UI related changed.

Screenshots

@halmueller halmueller changed the title Allow adjustment of an AnnotationNode's Y screen coordinate. Allow adjustment of a LocationAnnotationNode's Y screen coordinate. Oct 5, 2019
@intere
Copy link
Collaborator

intere commented Oct 10, 2019

Can you please resolve the merge conflicts?

@halmueller
Copy link
Collaborator Author

Done and passing.

@intere intere merged commit 5259272 into AndrewHartAR:develop Oct 11, 2019
@halmueller halmueller deleted the labelPosition branch October 11, 2019 09:36
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

Successfully merging this pull request may close these issues.

LocationAnnotationNode labels are drawn using an offset above their location
2 participants