diff --git a/src/Consolonia.Themes/Templates/Controls/Helpers/SelectTextWithPointerUpExtension.cs b/src/Consolonia.Themes/Templates/Controls/Helpers/SelectTextWithPointerUpExtension.cs index 598f588..a3ae263 100644 --- a/src/Consolonia.Themes/Templates/Controls/Helpers/SelectTextWithPointerUpExtension.cs +++ b/src/Consolonia.Themes/Templates/Controls/Helpers/SelectTextWithPointerUpExtension.cs @@ -12,7 +12,7 @@ namespace Consolonia.Themes.Templates.Controls.Helpers { internal static class SelectTextWithPointerUpExtension { - public static readonly AttachedProperty SelectOnMouseRightUpProperty = + public static readonly AttachedProperty SelectOnMouseLeftUpProperty = AvaloniaProperty.RegisterAttached(CommonInternalHelper.GetStyledPropertyName(), typeof(SelectTextWithPointerUpExtension)); @@ -24,7 +24,7 @@ static SelectTextWithPointerUpExtension() if (!supportsMouse || supportsMouseMove) return; - SelectOnMouseRightUpProperty.Changed.SubscribeAction(OnPropertyChanged); + SelectOnMouseLeftUpProperty.Changed.SubscribeAction(OnPropertyChanged); } private static void OnPropertyChanged(AvaloniaPropertyChangedEventArgs args) diff --git a/src/Consolonia.Themes/Templates/Controls/SelectableTextBlock.axaml b/src/Consolonia.Themes/Templates/Controls/SelectableTextBlock.axaml index 8f3fbcd..492dd57 100644 --- a/src/Consolonia.Themes/Templates/Controls/SelectableTextBlock.axaml +++ b/src/Consolonia.Themes/Templates/Controls/SelectableTextBlock.axaml @@ -5,7 +5,7 @@ TargetType="SelectableTextBlock"> - \ No newline at end of file