Browse Source

- #2359: Fix rendering of unpinned floating windows (https://github.com/icsharpcode/ILSpy/pull/2360#issuecomment-810630231)

pull/2360/head
tom-englert 4 years ago
parent
commit
546deb5796
  1. 4
      ILSpy/App.xaml.cs
  2. 2
      ILSpy/ILSpy.csproj
  3. 2
      SharpTreeView/ICSharpCode.TreeView.csproj

4
ILSpy/App.xaml.cs

@ -33,7 +33,7 @@ using System.Windows.Threading; @@ -33,7 +33,7 @@ using System.Windows.Threading;
using ICSharpCode.ILSpy.Options;
using Microsoft.VisualStudio.Composition;
using TomsToolbox.Wpf.Interactivity;
using TomsToolbox.Wpf.Styles;
@ -71,6 +71,8 @@ namespace ICSharpCode.ILSpy @@ -71,6 +71,8 @@ namespace ICSharpCode.ILSpy
}
InitializeComponent();
// Disable glass-frame/DWM-composition to workaround https://github.com/Dirkster99/AvalonDock/issues/258
CustomNonClientAreaBehavior.DisableGlassFrameProperty.OverrideMetadata(typeof(Window), new FrameworkPropertyMetadata(true));
Resources.RegisterDefaultStyles();
if (!System.Diagnostics.Debugger.IsAttached)

2
ILSpy/ILSpy.csproj

@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
<PackageReference Include="OSVersionHelper" Version="1.1.24" />
<PackageReference Include="DataGridExtensions" Version="2.5.0" />
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.31" />
<PackageReference Include="TomsToolbox.Wpf.Styles" Version="2.4.4" />
<PackageReference Include="TomsToolbox.Wpf.Styles" Version="2.5.0" />
<PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
</ItemGroup>

2
SharpTreeView/ICSharpCode.TreeView.csproj

@ -24,7 +24,7 @@ @@ -24,7 +24,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="TomsToolbox.Wpf.Styles" Version="2.4.4" />
<PackageReference Include="TomsToolbox.Wpf.Styles" Version="2.5.0" />
</ItemGroup>
</Project>

Loading…
Cancel
Save