File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public class Track : Control
44
44
AvaloniaProperty . Register < Track , bool > ( nameof ( IsDirectionReversed ) ) ;
45
45
46
46
public static readonly StyledProperty < bool > IgnoreThumbDragProperty =
47
- AvaloniaProperty . Register < Track , bool > ( nameof ( IgnoreThumbDrag ) ) ;
47
+ AvaloniaProperty . Register < Track , bool > ( nameof ( IsThumbDragHandled ) ) ;
48
48
49
49
private double _minimum ;
50
50
private double _maximum = 100.0 ;
@@ -118,7 +118,7 @@ public bool IsDirectionReversed
118
118
set { SetValue ( IsDirectionReversedProperty , value ) ; }
119
119
}
120
120
121
- public bool IgnoreThumbDrag
121
+ public bool IsThumbDragHandled
122
122
{
123
123
get { return GetValue ( IgnoreThumbDragProperty ) ; }
124
124
set { SetValue ( IgnoreThumbDragProperty , value ) ; }
@@ -442,7 +442,7 @@ private void ButtonChanged(AvaloniaPropertyChangedEventArgs e)
442
442
443
443
private void ThumbDragged ( object sender , VectorEventArgs e )
444
444
{
445
- if ( IgnoreThumbDrag )
445
+ if ( IsThumbDragHandled )
446
446
return ;
447
447
448
448
Value = MathUtilities . Clamp (
Original file line number Diff line number Diff line change @@ -194,7 +194,7 @@ protected override void OnApplyTemplate(TemplateAppliedEventArgs e)
194
194
195
195
if ( _track != null )
196
196
{
197
- _track . IgnoreThumbDrag = true ;
197
+ _track . IsThumbDragHandled = true ;
198
198
}
199
199
200
200
if ( _decreaseButton != null )
You can’t perform that action at this time.
0 commit comments