Browse Source

Also activate AdvancedScrollWheelBehavior on the special ZoomScrollViewer

pull/3248/head
tom-englert 1 year ago
parent
commit
9ae62ff51a
  1. 4
      ILSpy/Controls/ZoomScrollViewer.xaml

4
ILSpy/Controls/ZoomScrollViewer.xaml

@ -1,8 +1,10 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 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}"> <Style TargetType="{x:Type Controls:ZoomScrollViewer}">
<Setter Property="toms:AdvancedScrollWheelBehavior.Attach" Value="WithAnimation" />
<Setter Property="Template"> <Setter Property="Template">
<Setter.Value> <Setter.Value>
<ControlTemplate TargetType="{x:Type Controls:ZoomScrollViewer}"> <ControlTemplate TargetType="{x:Type Controls:ZoomScrollViewer}">

Loading…
Cancel
Save