File tree 1 file changed +4
-4
lines changed
src/WPFDevelopers.Shared/Controls/ColorPicker
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public override void OnApplyTemplate()
110
110
if ( _canvas != null )
111
111
{
112
112
_canvas . Loaded += Canvas_Loaded ;
113
- _canvas . MouseUp += _canvas_MouseUp ;
113
+ _canvas . MouseUp += Canvas_MouseUp ;
114
114
}
115
115
116
116
_thumb = GetTemplateChild ( ThumbTemplateName ) as Thumb ;
@@ -124,16 +124,16 @@ public override void OnApplyTemplate()
124
124
currentGridStateIndex = 0 ;
125
125
colorTypeEnums = ( ColorTypeEnum [ ] ) Enum . GetValues ( typeof ( ColorTypeEnum ) ) ;
126
126
if ( _button != null )
127
- _button . Click += _button_Click ;
127
+ _button . Click += Button_Click ;
128
128
}
129
129
130
- private void _button_Click ( object sender , RoutedEventArgs e )
130
+ private void Button_Click ( object sender , RoutedEventArgs e )
131
131
{
132
132
currentGridStateIndex = ( currentGridStateIndex + 1 ) % colorTypeEnums . Length ;
133
133
ColorType = colorTypeEnums [ currentGridStateIndex ] ;
134
134
}
135
135
136
- private void _canvas_MouseUp ( object sender , MouseButtonEventArgs e )
136
+ private void Canvas_MouseUp ( object sender , MouseButtonEventArgs e )
137
137
{
138
138
var canvasPosition = e . GetPosition ( _canvas ) ;
139
139
GetHSB ( canvasPosition ) ;
You can’t perform that action at this time.
0 commit comments