Repository navigation
Conversation
The track, buffered and played parts were each painted as their own rounded bar on top of one another. Every layer anti-aliased the same edges, so the track under the played part showed through as a light outline, most visible on the rounded corners. They are now painted as plain rectangles in one layer, clipped once to the rounded bar shape. Colors stay the same, translucent defaults included. The corner radius is half the bar height, so the ends are full pills.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #981 +/- ##
==========================================
+ Coverage 83.98% 84.43% +0.44%
==========================================
Files 48 48
Lines 3060 3109 +49
==========================================
+ Hits 2570 2625 +55
+ Misses 490 484 -6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
The played part ends rounded again, so a handle smaller than the bar does not reveal a square end. A negative position paints at the start of the bar instead of before it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The progress bar shows a light outline around the played part, strongest on the rounded corners. It is most visible when the played color is close to what is behind the bar.
The track, buffered and played parts were each painted as their own rounded bar on top of one another. Every layer anti-aliased the same edges, so the track under the played part showed through.
They are now painted as plain rectangles in one layer, clipped once to the rounded bar shape. Colors do not change, the translucent defaults included. The corner radius is now half the bar height, so the ends are full pills. It was a fixed 4 px.
Rows: default colors, a dark played color on a matching background, default colors with chapters.
Left end of the second row, zoomed. Before on top, after below:
flutter testandflutter analyzepass.