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 #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nkzarrabi
Copy link

@nkzarrabi nkzarrabi commented Oct 31, 2024

Fixes #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.

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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to snap-to-grid when adding a microphone point
1 participant