Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple highlights #512

Open
wants to merge 3 commits into
base: release/1.3
Choose a base branch
from

Conversation

FF-Brown
Copy link

@FF-Brown FF-Brown commented Aug 22, 2023

Fixes an issue (I'll link the report later) identified with the area highlights. Each highlight darkens the entire area around it, including other highlight areas. This means that if the user places multiple highlight areas, they all get progressively darker and blurrier.
My fix just passes the locations of other highlight areas in when we draw one of them so each can be excluded from the filters. Not incredibly efficient but I can't see users having any more than 3-4 of these, so the effect should be super minimal, otherwise I'd have done it differently. For some reason this operation is very slow to begin with, which might be worth looking into at some point.

Feedback is welcome!

@FF-Brown
Copy link
Author

Forgot to include these before/after
Before:
greenshot_before_highlight_changes_high_quality
After:
greenshot_after_highlight_changes_high_quality

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.

None yet

1 participant