Fixed issue where we couldn't enter a space into textbox within SettingsExpander

This commit is contained in:
TheXamlGuy
2024-06-27 18:11:11 +01:00
parent 0244bab513
commit 8e513bbbe4
5 changed files with 118 additions and 9 deletions
@@ -8,14 +8,15 @@ public class PersonPictureColourGenerator
{
private readonly string[] colours =
[
"#FFB900", "#E81123", "#0078D7", "#0099BC", "#7A7574",
"#767676", "#FF8C00", "#E81123", "#0063B1", "#2D7D9A",
"#5D5A58", "#4C4A48", "#F7630C", "#EA005E", "#8E8CD8",
"#0078D7", "#68768A", "#69797E", "#CA5010", "#C30052",
"#6B69D6", "#038387", "#515C6B", "#4A5459", "#DA3B01",
"#E3008C", "#8764B8", "#00B294", "#567C73", "#647C64"
"#FFB900", "#FF8C00", "#F7630C", "#CA5010", "#DA3B01", "#EF6950", "#D13438", "#FF4343",
"#E74856", "#E81123", "#EA005E", "#C30052", "#E3008C", "#BF0077", "#C239B3", "#9A0089",
"#0078D7", "#0063B1", "#8E8CD8", "#6B69D6", "#8764B8", "#744DA9", "#B146C2", "#881798",
"#0099BC", "#2D7D9A", "#00B7C3", "#038387", "#00B294", "#018574", "#00CC6A", "#10893E",
"#7A7574", "#5D5A58", "#68768A", "#515C6B", "#567C73", "#486860", "#498205", "#107C10",
"#767676", "#4C4A48", "#69797E", "#4A5459", "#647C64", "#525E54", "#847545", "#7E735F"
];
public Color GenerateColour(string input)
{
byte[] hashBytes = GetHash(input);