Skip to content

Commit

Permalink
fix fill amount display in performer page
Browse files Browse the repository at this point in the history
  • Loading branch information
mebitek committed May 3, 2024
1 parent cfafd5a commit 9ffe2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/sequencer/ui/pages/PerformerPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void PerformerPage::draw(Canvas &canvas) {

// draw fill & fill amount amount
bool pressed = pageKeyState()[MatrixMap::fromStep(trackIndex)];
canvas.setColor(pressed ? Color::Bright : Color::Low);
canvas.setColor(pressed ? Color::Medium : Color::Low);
canvas.fillRect(x, y + h + 6, w, 4);
canvas.setColor(pressed ? Color::Bright : Color::Medium);
canvas.fillRect(x, y + h + 6, (trackState.fillAmount() * w) / 100, 4);
Expand Down

0 comments on commit 9ffe2af

Please sign in to comment.