From 450aea3d5b2d375b9bd2c9412b1d13aa35f7e01b Mon Sep 17 00:00:00 2001 From: Jumar Macato Date: Sun, 31 May 2020 10:15:50 +0800 Subject: [PATCH] set hit test correctly --- src/Avalonia.Controls/Slider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Controls/Slider.cs b/src/Avalonia.Controls/Slider.cs index 17e8f51838..1c7d00628e 100644 --- a/src/Avalonia.Controls/Slider.cs +++ b/src/Avalonia.Controls/Slider.cs @@ -103,7 +103,7 @@ namespace Avalonia.Controls if (_track != null) { - _track.Thumb.IsHitTestVisible = true; + _track.Thumb.IsHitTestVisible = false; } if (_decreaseButton != null)