diff --git a/Directory.Packages.props b/Directory.Packages.props index a99f48fcc..6d1e81e99 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -45,7 +45,7 @@ - + \ No newline at end of file diff --git a/ILSpy/Controls/ZoomScrollViewer.cs b/ILSpy/Controls/ZoomScrollViewer.cs index dff54789c..21e258963 100644 --- a/ILSpy/Controls/ZoomScrollViewer.cs +++ b/ILSpy/Controls/ZoomScrollViewer.cs @@ -108,7 +108,7 @@ namespace ICSharpCode.ILSpy.Controls z.ComputedZoomButtonCollapsed = (z.AlwaysShowZoomButtons == false) && (z.CurrentZoom == 1.0); } - protected override void OnMouseWheel(MouseWheelEventArgs e) + protected override void OnPreviewMouseWheel(MouseWheelEventArgs e) { if (!e.Handled && Keyboard.Modifiers == ModifierKeys.Control && MouseWheelZoom) { @@ -165,7 +165,7 @@ namespace ICSharpCode.ILSpy.Controls e.Handled = true; } - base.OnMouseWheel(e); + base.OnPreviewMouseWheel(e); } internal static double RoundToOneIfClose(double val) diff --git a/ILSpy/Options/DecompilerSettingsPanel.xaml b/ILSpy/Options/DecompilerSettingsPanel.xaml index 9444a4cdc..4941e0142 100644 --- a/ILSpy/Options/DecompilerSettingsPanel.xaml +++ b/ILSpy/Options/DecompilerSettingsPanel.xaml @@ -3,7 +3,7 @@ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:properties="clr-namespace:ICSharpCode.ILSpy.Properties" - xmlns:options="clr-namespace:ICSharpCode.ILSpy.Options"> + xmlns:toms="urn:TomsToolbox"> @@ -20,7 +20,7 @@ - +