From 068ba8873c2d6322c79039b88b2b9965f8fb4473 Mon Sep 17 00:00:00 2001 From: Evgeny Gorbovoy Date: Thu, 19 Dec 2024 22:27:14 +0100 Subject: [PATCH] renaming --- .../Controls/Helpers/SelectTextWithPointerUpExtension.cs | 4 ++-- .../Templates/Controls/SelectableTextBlock.axaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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