Skip to content

Fix zoom changes brush size#765

Merged
alxvth merged 2 commits intomasterfrom
feature/FixZoomChangesBrushSize
Jan 9, 2025
Merged

Fix zoom changes brush size#765
alxvth merged 2 commits intomasterfrom
feature/FixZoomChangesBrushSize

Conversation

@alxvth
Copy link
Copy Markdown
Contributor

@alxvth alxvth commented Jan 9, 2025

In the scatterplot plugin, zooming while using the brush selection changes the brush size since both respond to mouse wheel changes.

This PR adds a keyboard modifier that prevents the brush size change. In the Scatterplot the zooming is only active when ALT is pressed. With this PR, during ALT presses, die brush size won't change.

Towards ManiVaultStudio/Scatterplot#155

@alxvth
Copy link
Copy Markdown
Contributor Author

alxvth commented Jan 9, 2025

Usage in Scatterplot plugin in ManiVaultStudio/Scatterplot#156

@alxvth alxvth requested a review from ThomasKroes January 9, 2025 12:22
@alxvth alxvth merged commit b6ea241 into master Jan 9, 2025
@alxvth alxvth deleted the feature/FixZoomChangesBrushSize branch January 9, 2025 12:36
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