File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ public KeyPressMessage(object sender, KeyEventArgs args)
2121 GetGesture ( ) ;
2222 }
2323
24- public bool GestureEquals ( string gestureString )
24+ public bool GestureEquals ( string gesture )
2525 {
2626 var gestureConverter = new KeyGestureConverter ( ) ;
27- var keyGesture = gestureConverter . ConvertFromInvariantString ( gestureString ) as KeyGesture ;
28- string ? normalizedGestureString = keyGesture ? . GetDisplayStringForCulture ( CultureInfo . InvariantCulture ) ;
27+ var keyGesture = gestureConverter . ConvertFromInvariantString ( gesture ) as KeyGesture ;
28+ string ? normalizedGesture = keyGesture ? . GetDisplayStringForCulture ( CultureInfo . InvariantCulture ) ;
2929
30- if ( normalizedGestureString is not null )
30+ if ( normalizedGesture is not null )
3131 {
32- return normalizedGestureString . Equals ( Gesture , StringComparison . OrdinalIgnoreCase ) ;
32+ return normalizedGesture . Equals ( Gesture , StringComparison . OrdinalIgnoreCase ) ;
3333 }
3434
3535 return false ;
You can’t perform that action at this time.
0 commit comments