Skip to content

Commit

Permalink
Fixed a typo issue where the HEX color wasn't correctly displayed in …
Browse files Browse the repository at this point in the history
…the history
  • Loading branch information
Leo-Peyronnet committed Nov 20, 2021
1 parent 6a5cb24 commit 922ee5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ColorPicker/UserControls/RecentColorItem.xaml.cs
Expand Up @@ -52,7 +52,7 @@ private void InitUI()
Color = Color.FromRgb((byte)R, (byte)G, (byte)B)
}; // Set background
ToolTip.Content = $"{Properties.Resources.RGB}: {R}{s}{G}{s}{B}\n" +
$"{Properties.Resources.HEX}: {ColorHelper.ColorConverter.RgbToHex(new((byte)R, (byte)G, (byte)B))}"; // Set text
$"{Properties.Resources.HEX}: #{ColorHelper.ColorConverter.RgbToHex(new((byte)R, (byte)G, (byte)B))}"; // Set text
}

private void Border_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
Expand Down

0 comments on commit 922ee5e

Please sign in to comment.