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

Add ability to snap-to-grid when adding a microphone point #15

Open
nicolasperez19 opened this issue Oct 25, 2024 · 0 comments · May be fixed by #26
Open

Add ability to snap-to-grid when adding a microphone point #15

nicolasperez19 opened this issue Oct 25, 2024 · 0 comments · May be fixed by #26
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@nicolasperez19
Copy link
Owner

Could be done using Shift + Click

@nicolasperez19 nicolasperez19 added the enhancement New feature or request label Oct 25, 2024
@nicolasperez19 nicolasperez19 added this to the Enhancements milestone Oct 25, 2024
@nicolasperez19 nicolasperez19 added the good first issue Good for newcomers label Oct 30, 2024
nkzarrabi added a commit to nkzarrabi/mic-master-flex that referenced this issue Oct 31, 2024
Fixes nicolasperez19#15

Add snap-to-grid functionality when adding a microphone point using Shift + Click.

* **MicMasterFlex.tsx**
  - Add a function to snap points to the nearest grid intersection.
  - Update the `handleMouseUp` function to snap the microphone point to the grid when Shift + Click is detected.
  - Check for the Shift key being pressed during the click event and apply grid snapping logic.

* **README.md**
  - Add instructions for using Shift + Click to snap-to-grid when adding a microphone point.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/nicolasperez19/mic-master-flex/issues/15?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant