Skip to content

Commit 6c7fc1e

Browse files
committed
2 parents 36edef5 + 495cf5d commit 6c7fc1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/AuroraDemo/PatternStarfield.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class PatternStarfield : public Drawable {
6363

6464
// Draw the star (if it is visible in the screen).
6565
// Distant stars are smaller than closer stars.
66-
if ((0 <= x and x < VPANEL_H)
66+
if ((0 <= x and x < VPANEL_W)
6767
and (0 <= y and y < VPANEL_H)) {
6868

6969
CRGB tmp = stars[i].colour;

0 commit comments

Comments
 (0)