Skip to content

Commit

Permalink
Added shortcut to note (#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Peyronnet committed Mar 16, 2024
1 parent 4d2d3d1 commit a6cfba4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions ColorPicker/UserControls/ColorItem.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
Padding="5"
VerticalAlignment="Top"
FontFamily="..\Fonts\#FluentSystemIcons-Regular"
MouseLeftButtonUp="NoteIcon_MouseLeftButtonUp"
Text="">
<TextBlock.ToolTip>
<ToolTip
Expand Down
5 changes: 5 additions & 0 deletions ColorPicker/UserControls/ColorItem.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,10 @@ private void SaveBtn_Click(object sender, RoutedEventArgs e)
}
catch { }
}

private void NoteIcon_MouseLeftButtonUp(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
NotePopup.IsOpen = true;
}
}
}

0 comments on commit a6cfba4

Please sign in to comment.