Skip to content

Commit

Permalink
Merge pull request #3222 from DKastelic/byte-monitor-fix
Browse files Browse the repository at this point in the history
Fix byte monitor label colors
  • Loading branch information
shroffk authored Dec 26, 2024
2 parents fe6c619 + 887dc3a commit 615dfed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public void updateChanges()
for (int i = 0; i < N; i++)
{
leds[i].setFill(save_values[i]);
if (save_labels[i] != null)
if (save_labels[i] != null && square_led)
{
// Compare brightness of LED with text.
final double brightness = Brightness.of(save_values[i]);
Expand All @@ -448,4 +448,4 @@ public void updateChanges()
}
}
}
}
}

0 comments on commit 615dfed

Please sign in to comment.