Skip to content

Conversation

@Douniahlt
Copy link
Contributor

What does this PR do?

This pull request fixes the issue where the eraser stroke size remained visually large, especially at minimum brush size, and did not scale according to zoom level.

Changes made:

  • Removed the hardcoded MIN_ERASER_WIDTH condition that forced a minimum size only for the eraser.

Fixes #25 ("Eraser size not relative to zoom on minimum size") as reported.

Let me know if you’d like me to make any adjustments.

Douniahlt and others added 2 commits April 19, 2025 22:39
fix: make eraser stroke respect zoom and match brush minimum size
@naveensingh naveensingh self-assigned this Apr 20, 2025
@naveensingh
Copy link
Member

In addition to #30 (comment):

MIN_ERASER_WIDTH at L36 is not used anymore and should be removed.

Copy link
Member

@naveensingh naveensingh left a comment

Choose a reason for hiding this comment

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

Seems to work fine, thank you!

@naveensingh naveensingh merged commit 0f46f79 into FossifyOrg:master Apr 20, 2025
3 of 5 checks passed
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.

Eraser size not relative to zoom on minimum size

2 participants