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

Fix drawing of black areas in waterfall #1291

Merged
merged 1 commit into from
Oct 1, 2023
Merged

Fix drawing of black areas in waterfall #1291

merged 1 commit into from
Oct 1, 2023

Conversation

argilo
Copy link
Member

@argilo argilo commented Oct 1, 2023

Partially addresses #1282.

An extra black pixel is drawn along the left edge of the waterfall because the code that draws the black areas to the left and right of the waterfall uses drawRect which draws the outline of a rectangle, which extends down and to the right by one pixel beyond the rectangle's dimensions.

I've changed the code to use drawLine instead, which draws a single line of pixels.

@argilo argilo added the bug label Oct 1, 2023
Copy link
Contributor

@willcode willcode left a comment

Choose a reason for hiding this comment

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

Gets rid of the funny pixel, and I don't see any other side effects.

@argilo argilo merged commit b0662a6 into master Oct 1, 2023
22 checks passed
@argilo argilo deleted the fix-black-areas branch October 1, 2023 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants