Browse Source

tidy code.

Dan Walmsley 5 years ago
parent
commit
71109100eb
1 changed files with 2 additions and 3 deletions
  1. 2 3
      src/Avalonia.Controls/TextBox.cs

+ 2 - 3
src/Avalonia.Controls/TextBox.cs

@@ -1,4 +1,3 @@
-using System.Windows.Input;
 using Avalonia.Input.Platform;
 using System;
 using System.Collections.Generic;
@@ -19,8 +18,8 @@ namespace Avalonia.Controls
 {
     public class TextBox : TemplatedControl, UndoRedoHelper<TextBox.UndoRedoState>.IUndoRedoHost
     {
-        public static KeyGesture CutGesture { get; } =
-            AvaloniaLocator.Current.GetService<PlatformHotkeyConfiguration>()?.Cut.FirstOrDefault();
+        public static KeyGesture CutGesture { get; } = AvaloniaLocator.Current
+            .GetService<PlatformHotkeyConfiguration>()?.Cut.FirstOrDefault();
 
         public static KeyGesture CopyGesture { get; } = AvaloniaLocator.Current
             .GetService<PlatformHotkeyConfiguration>()?.Copy.FirstOrDefault();