Skip to content

Commit

Permalink
Fixed an issue with bookmark menu
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeyr committed Apr 23, 2024
1 parent 21d4332 commit 3731891
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ColorPicker/Pages/ConverterPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ internal void LoadDetails(bool setColor = false)
ColorValidIconTxt.Text = "\uF299";
ColorValidIconTxt.Foreground = Global.GetColorFromResource("Green");

LoadBookmarkMenu();

// Load the bookmark icon
if (!Global.Bookmarks.ColorBookmarks.Contains(HexTxt.Text))
{
Expand Down
2 changes: 2 additions & 0 deletions ColorPicker/Pages/HarmoniesPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ internal void InitHarmonies()
MonochromaticPanel.Children.Add(border);
}

LoadBookmarkMenu();

// Load the bookmark icon
if (!Global.Bookmarks.ColorBookmarks.Contains($"#{ColorInfo.HEX.Value}"))
{
Expand Down
2 changes: 2 additions & 0 deletions ColorPicker/Pages/SelectorPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,8 @@ internal void LoadDetails()
YuvTxt.Text = $"{ColorInfo.YUV.Y:0.00}..; {ColorInfo.YUV.U:0.00}..; {ColorInfo.YUV.V:0.00}..";
DecTxt.Text = ColorInfo.DEC.Value.ToString();

LoadBookmarkMenu();

// Load the bookmark icon
if (!Global.Bookmarks.ColorBookmarks.Contains(HexTxt.Text))
{
Expand Down

0 comments on commit 3731891

Please sign in to comment.