richrobber2 / canvas-zoom

zoom and pan functionality
350 stars 23 forks source link

Feature Request: Adjustable Increment for Brush Size Using Ctrl + Mouse Wheel #95

Closed richrobber2 closed 9 months ago

richrobber2 commented 9 months ago

Background: In the current implementation of the brush size adjustment feature (as seen in the adjustBrushSize function), the brush size changes by a fixed percentage of the maximum value. This percentage is currently hardcoded as 5%. While this works well for general use, it lacks flexibility for users who require finer control over brush size adjustments.

Suggested Enhancement: Introduce a new configuration option in shared.config.py that allows users to specify the percentage increment for adjusting the brush size. This will enable more precise control over the brush size, especially beneficial for detailed artwork or specific use cases.

daswer123 commented 9 months ago

Hi ,good idea, I think we can add it.

daswer123 commented 9 months ago

Done, now you can change to any % from 1 to 10.

image

richrobber2 commented 7 months ago

commit