Skip to content

Commit

Permalink
fix - Fixed appearance of some selection styles
Browse files Browse the repository at this point in the history
---

Selection styles should no longer look horrible.

---

Type: fix
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Feb 5, 2025
1 parent ceef8e4 commit 977e77f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,12 @@ public string LicenseColor
public string BackgroundColor
{
get => KernelColorTools.GetColor(KernelColorType.Background).PlainSequence;
set => KernelColorTools.SetColor(KernelColorType.Background, new Color(value));
set
{
var color = new Color(value);
KernelColorTools.SetColor(KernelColorType.Background, color);
SelectionStyleSettings.GlobalSettings.BackgroundColor = color;
}
}
/// <summary>
/// Input Color
Expand Down

0 comments on commit 977e77f

Please sign in to comment.