Skip to content

Commit

Permalink
Merge pull request #41 from CarlosCraveiro/master
Browse files Browse the repository at this point in the history
🎞 Fixing black in black prints at coffee smoke and gears
  • Loading branch information
gabrielzschmitz committed May 21, 2024
2 parents 2bfb6b9 + 13232b9 commit 26bfe52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions anim.c
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void printCoffee(appData* app) {
int startx = app->middlex - 3;
int starty = app->middley - 2;
int frameIndex = app->coffeeFrame * 6;
int lineColor[6] = {COLOR_BLACK, COLOR_BLACK, COLOR_WHITE,
int lineColor[6] = {COLOR_WHITE, COLOR_WHITE, COLOR_WHITE,
COLOR_WHITE, COLOR_WHITE, COLOR_WHITE};

for (int i = 0; i < 6; i++) {
Expand Down Expand Up @@ -358,7 +358,7 @@ void printWrench(appData* app, int flip) {
starty = app->middley - 9;
}

setColor(COLOR_BLACK, COLOR_BLACK, A_BOLD);
setColor(COLOR_WHITE, COLOR_BLACK, A_BOLD);
for (int i = 0; i < 5; i++) {
mvprintw(starty + i, startx, "%s", wrenchFrames[i]);
}
Expand Down

0 comments on commit 26bfe52

Please sign in to comment.