From b6a487b30f48da8b7d6542a22703226a567afec9 Mon Sep 17 00:00:00 2001 From: Aptivi CEO Date: Fri, 23 Feb 2024 10:28:23 +0300 Subject: [PATCH] fix - Fixed the "X" not using background color --- We've fixed KSX not using the background color in the "X". --- Type: fix Breaking: False Doc Required: False Part: 1/1 --- .../Nitrocid.ScreensaverPacks/Screensavers/KSX.cs | 4 ++-- .../Nitrocid.ScreensaverPacks/Screensavers/KSX3.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/Nitrocid.Addons/Nitrocid.ScreensaverPacks/Screensavers/KSX.cs b/public/Nitrocid.Addons/Nitrocid.ScreensaverPacks/Screensavers/KSX.cs index 0d1b790598..ac263be4b5 100644 --- a/public/Nitrocid.Addons/Nitrocid.ScreensaverPacks/Screensavers/KSX.cs +++ b/public/Nitrocid.Addons/Nitrocid.ScreensaverPacks/Screensavers/KSX.cs @@ -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); + CenteredFigletTextColor.WriteCenteredFigletColor(figFont, "X", finalCol, black); // Sleep ThreadManager.SleepNoBlock(100, ScreensaverDisplayer.ScreensaverDisplayerThread); @@ -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); + CenteredFigletTextColor.WriteCenteredFigletColor(figFont, "X", col, black); // Sleep ThreadManager.SleepNoBlock(100, ScreensaverDisplayer.ScreensaverDisplayerThread); diff --git a/public/Nitrocid.Addons/Nitrocid.ScreensaverPacks/Screensavers/KSX3.cs b/public/Nitrocid.Addons/Nitrocid.ScreensaverPacks/Screensavers/KSX3.cs index fdb072fb15..6a6a4ad6f5 100644 --- a/public/Nitrocid.Addons/Nitrocid.ScreensaverPacks/Screensavers/KSX3.cs +++ b/public/Nitrocid.Addons/Nitrocid.ScreensaverPacks/Screensavers/KSX3.cs @@ -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); + CenteredFigletTextColor.WriteCenteredFigletColor(figFont, "X", col, black); // Sleep ThreadManager.SleepNoBlock(100, ScreensaverDisplayer.ScreensaverDisplayerThread);