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

[Feature Request] Enhance opposite-planar #226

Open
alanOracle opened this issue Mar 13, 2024 · 2 comments
Open

[Feature Request] Enhance opposite-planar #226

alanOracle opened this issue Mar 13, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@alanOracle
Copy link

Is your feature request related to a problem? Please describe.
opposite-planar resize option is not working properly.

  • It should be able to support cross axis editing
  • If you move rapidly a coordinate while on this mode you can get out of the allowed 'zone' (pointerDistance)
  • having minDistanceFromSelectionPoint significantly affects the UX the user should not notice theres a "jump" when it gets closer to the origin

Describe your proposed idea for the solution to this problem

  • By adding a new method similar to scalePlanar but with invertX an invertY parameters should be possible to accomplish cross axis.
  • To calculate if a user wants to cross an axis we could simply check if the selectedFeature is in one side of the axis and at the same time the cursor is in the other side of the axis
  • We should not limit events to be within the range of pointerDistance since if the user moves fast it could get out of that range.

The proposed solution works on opposite-planar but i think it could be slightly modified to work also on center-planar

@alanOracle alanOracle added the enhancement New feature or request label Mar 13, 2024
@alanOracle
Copy link
Author

@JamesLMilner NOTICE THERES A COPYRIGHT NOTICE in the pull request since its required to me to add it.

@JamesLMilner
Copy link
Owner

Hey @alanOracle - thanks for raising. I agree resizeable isn't quite where I want it to be UX wise at the moment. I just wanted to get something out that mostly worked but appreciate it's still a bit buggy. It is coming and I will work on these suggestions, I'll let you know when it's up to scratch! Appreciate the PR for this, but unfortunately I can't accept with the Oracle copyright notice, hope you understand.

@JamesLMilner JamesLMilner changed the title Enhance opposite-planar [Feature Request] Enhance opposite-planar Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants