Skip to content

Commit

Permalink
Also activate AdvancedScrollWheelBehavior on the special ZoomScrollVi…
Browse files Browse the repository at this point in the history
…ewer
  • Loading branch information
tom-englert committed Aug 2, 2024
1 parent 64c1d1b commit 9ae62ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ILSpy/Controls/ZoomScrollViewer.xaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Controls="clr-namespace:ICSharpCode.ILSpy.Controls">
xmlns:Controls="clr-namespace:ICSharpCode.ILSpy.Controls"
xmlns:toms="urn:TomsToolbox">

<Style TargetType="{x:Type Controls:ZoomScrollViewer}">
<Setter Property="toms:AdvancedScrollWheelBehavior.Attach" Value="WithAnimation" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Controls:ZoomScrollViewer}">
Expand Down

0 comments on commit 9ae62ff

Please sign in to comment.