Skip to content

feat: add middle-click functionality to toggle particle selector in App component#14

Merged
VoX merged 1 commit into
mainfrom
develop
Feb 13, 2026
Merged

feat: add middle-click functionality to toggle particle selector in App component#14
VoX merged 1 commit into
mainfrom
develop

Conversation

@VoX

@VoX VoX commented Feb 13, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings February 13, 2026 18:29
@VoX VoX enabled auto-merge February 13, 2026 18:29
@VoX VoX merged commit 32f8bf7 into main Feb 13, 2026
8 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds middle-click functionality to toggle the particle selector dropdown in the canvas interaction handler. The feature provides an alternative way to open/close the material selection menu, complementing the existing click-on-button interaction.

Changes:

  • Add middle-click (button === 1) detection in handlePointerDown to toggle particle selector dropdown
  • Ensure settings panel closes when particle selector opens via middle-click
  • Use early return pattern to prevent middle-click from triggering canvas drawing operations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants