Skip to content

Commit

Permalink
chg - Fixed the "X" not using background color
Browse files Browse the repository at this point in the history
---

Type: fix
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Feb 23, 2024
1 parent b6a487b commit 0bcbc84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public override void ScreensaverLogic()

// Pulse the X character, alternating between darkGreen and Green colors
var figFont = FigletTools.GetFigletFont("banner");
CenteredFigletTextColor.WriteCenteredFigletColor(figFont, "X", finalCol, black);
CenteredFigletTextColor.WriteCenteredFigletColorBack(figFont, "X", finalCol, black);

// Sleep
ThreadManager.SleepNoBlock(100, ScreensaverDisplayer.ScreensaverDisplayerThread);
Expand Down Expand Up @@ -148,7 +148,7 @@ public override void ScreensaverLogic()
// Now, make a color and write the X character using figlet
Color col = new(currentR, currentG, currentB);
var figFont = FigletTools.GetFigletFont("banner");
CenteredFigletTextColor.WriteCenteredFigletColor(figFont, "X", col, black);
CenteredFigletTextColor.WriteCenteredFigletColorBack(figFont, "X", col, black);

// Sleep
ThreadManager.SleepNoBlock(100, ScreensaverDisplayer.ScreensaverDisplayerThread);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ public override void ScreensaverLogic()
// Now, make a color and write the X character using figlet
Color col = new(currentR, currentG, currentB);
var figFont = FigletTools.GetFigletFont("banner");
CenteredFigletTextColor.WriteCenteredFigletColor(figFont, "X", col, black);
CenteredFigletTextColor.WriteCenteredFigletColorBack(figFont, "X", col, black);

// Sleep
ThreadManager.SleepNoBlock(100, ScreensaverDisplayer.ScreensaverDisplayerThread);
Expand Down

0 comments on commit 0bcbc84

Please sign in to comment.