Skip to content

Commit

Permalink
Fixed an issue when pasting a decimal color
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeyr committed Sep 3, 2023
1 parent 1263104 commit a70dd97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ColorPicker/Pages/ConverterPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ private void Txt1_PreviewExecuted(object sender, ExecutedRoutedEventArgs e)
Txt3.Text = split[2];
Txt4.Text = split.Length > 3 ? split[3] : "";
}
else if (SelectedColorBtn == HexBtn)
else if (SelectedColorBtn == HexBtn || SelectedColorBtn == DecBtn)
{
Txt5.Text = text;
}
Expand Down

0 comments on commit a70dd97

Please sign in to comment.