|
|
@@ -44,7 +44,7 @@ namespace Avalonia.Controls.Primitives
|
|
|
AvaloniaProperty.Register<Track, bool>(nameof(IsDirectionReversed));
|
|
|
|
|
|
public static readonly StyledProperty<bool> IgnoreThumbDragProperty =
|
|
|
- AvaloniaProperty.Register<Track, bool>(nameof(IsThumbDragHandled));
|
|
|
+ AvaloniaProperty.Register<Track, bool>(nameof(IgnoreThumbDrag));
|
|
|
|
|
|
private double _minimum;
|
|
|
private double _maximum = 100.0;
|
|
|
@@ -118,7 +118,7 @@ namespace Avalonia.Controls.Primitives
|
|
|
set { SetValue(IsDirectionReversedProperty, value); }
|
|
|
}
|
|
|
|
|
|
- public bool IsThumbDragHandled
|
|
|
+ public bool IgnoreThumbDrag
|
|
|
{
|
|
|
get { return GetValue(IgnoreThumbDragProperty); }
|
|
|
set { SetValue(IgnoreThumbDragProperty, value); }
|
|
|
@@ -442,7 +442,7 @@ namespace Avalonia.Controls.Primitives
|
|
|
|
|
|
private void ThumbDragged(object? sender, VectorEventArgs e)
|
|
|
{
|
|
|
- if (IsThumbDragHandled)
|
|
|
+ if (IgnoreThumbDrag)
|
|
|
return;
|
|
|
|
|
|
Value = MathUtilities.Clamp(
|