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

SelectionTool uses only Figure.contain to find Figures: problematic with scaled views #24

Closed
wumpz opened this issue Jan 30, 2023 · 1 comment

Comments

@wumpz
Copy link
Owner

wumpz commented Jan 30, 2023

  • at the moment using the view scale and stroke width is used to construct a polygon that is tested against the click point
  • the use of GrowStroke does not work for small if there is no scale factor available
  • there may be different scale factory for different views the drawing is shown in
@wumpz
Copy link
Owner Author

wumpz commented Feb 2, 2023

as far as I found it, all calls to contains(point) are replaced with contains(point, scale) to enable scale sensitiv click ranges

@wumpz wumpz closed this as completed Feb 2, 2023
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

1 participant