Skip to content

Conversation

@justinterveystech
Copy link

Context : updtaed the example of volumecropping tool with sight changes in zoom and pan
Clear separation of mouse responsibilities in the 3D viewport
Changes & Results
Primary mouse button → only Volume Cropping (handles & planes)-also rotate
Mouse wheel → Zoom
Secondary (right) mouse button → Pan
This removes overlapping behaviours and makes interactions predictable.
Together, these changes reduce mode confusion and make the demo much easier to learn without instructions.
Testing
same as before .Just run the volumecroppingtool index file packages\tools\examples\volumeCroppingTool\index.ts
Checklist
PR
[] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.
Code
[] My code has been well-documented
Tested Environment
[] "OS:Windows
[] "Node version:v22.15.1
[] "Browser:chrome

@justinterveystech justinterveystech changed the title Terveystech - feature updated volumecroppintoolexample feature updated volumecroppintoolexample Dec 18, 2025
@sedghi
Copy link
Member

sedghi commented Dec 19, 2025

I'm not sure what you are trying to achieve here

@justinterveystech
Copy link
Author

In most of the example we use zoom in wheel and pan in right click which was rearranged in this example . Just for user convenience only

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