Skip to content
New issue

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

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

Already on GitHub? # to your account

fix drawing of 1pix bar shape #4704

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

fix drawing of 1pix bar shape #4704

wants to merge 2 commits into from

Conversation

cepetr
Copy link
Contributor

@cepetr cepetr commented Feb 28, 2025

This PR resolves #4702 and fixes the prodtest build for T3W1 rev A.

If the background and foreground colors are the same, the bar thickness is not considered. This fixes the problem with 1-pixel bars and also optimizes drawing, as suggested in #4702.

@cepetr cepetr self-assigned this Feb 28, 2025
@cepetr cepetr requested a review from TychoVrahe February 28, 2025 14:51
Copy link

github-actions bot commented Feb 28, 2025

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3B1 Safe 3 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3T1 Safe 5 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

@cepetr cepetr force-pushed the cepetr/fix-bar-shape branch from e529bd4 to 1972712 Compare February 28, 2025 16:00
@cepetr cepetr marked this pull request as ready for review February 28, 2025 16:30
@cepetr cepetr requested a review from prusnak as a code owner February 28, 2025 16:30
@TychoVrahe TychoVrahe requested review from TychoVrahe and removed request for prusnak March 3, 2025 14:18
@cepetr cepetr force-pushed the cepetr/fix-bar-shape branch from 608c89f to 54fe592 Compare March 3, 2025 19:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Status: 🔎 Needs review
Development

Successfully merging this pull request may close these issues.

Drawing of one px bars with both bg and fg color set does not work
2 participants