diff --git a/src/Shared/HandyControl_Shared/Controls/Attach/ScrollViewerAttach.cs b/src/Shared/HandyControl_Shared/Controls/Attach/ScrollViewerAttach.cs index b49739ac..f9649b26 100644 --- a/src/Shared/HandyControl_Shared/Controls/Attach/ScrollViewerAttach.cs +++ b/src/Shared/HandyControl_Shared/Controls/Attach/ScrollViewerAttach.cs @@ -62,7 +62,7 @@ public class ScrollViewerAttach { if (d is UIElement element) { - if ((bool)e.NewValue) + if ((bool) e.NewValue) { element.PreviewMouseWheel += ScrollViewerPreviewMouseWheel; }