Bladeren bron

Fix the indentation

Abdulbaqi Alshareef 6 jaren geleden
bovenliggende
commit
85fe3f23f4
2 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 2 2
      src/Avalonia.Controls/Presenters/TextPresenter.cs
  2. 2 2
      src/Avalonia.Controls/TextBox.cs

+ 2 - 2
src/Avalonia.Controls/Presenters/TextPresenter.cs

@@ -20,10 +20,10 @@ namespace Avalonia.Controls.Presenters
             AvaloniaProperty.Register<TextPresenter, char>(nameof(PasswordChar));
 
         public static readonly StyledProperty<IBrush> SelectionBrushProperty =
-           AvaloniaProperty.Register<TextPresenter, IBrush>(nameof(SelectionBrushProperty));
+            AvaloniaProperty.Register<TextPresenter, IBrush>(nameof(SelectionBrushProperty));
 
         public static readonly StyledProperty<IBrush> SelectionForegroundBrushProperty =
-        AvaloniaProperty.Register<TextPresenter, IBrush>(nameof(SelectionForegroundBrushProperty));
+            AvaloniaProperty.Register<TextPresenter, IBrush>(nameof(SelectionForegroundBrushProperty));
 
         public static readonly DirectProperty<TextPresenter, int> SelectionStartProperty =
             TextBox.SelectionStartProperty.AddOwner<TextPresenter>(

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

@@ -39,10 +39,10 @@ namespace Avalonia.Controls
             AvaloniaProperty.Register<TextBox, char>(nameof(PasswordChar));
 
         public static readonly StyledProperty<IBrush> SelectionBrushProperty =
-           AvaloniaProperty.Register<TextBox, IBrush>(nameof(SelectionBrushProperty));
+            AvaloniaProperty.Register<TextBox, IBrush>(nameof(SelectionBrushProperty));
 
         public static readonly StyledProperty<IBrush> SelectionForegroundBrushProperty =
-        AvaloniaProperty.Register<TextBox, IBrush>(nameof(SelectionForegroundBrushProperty));
+            AvaloniaProperty.Register<TextBox, IBrush>(nameof(SelectionForegroundBrushProperty));
 
         public static readonly DirectProperty<TextBox, int> SelectionStartProperty =
             AvaloniaProperty.RegisterDirect<TextBox, int>(