Skip to content

Commit

Permalink
workaround for bitmap loading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreye committed Dec 16, 2018
1 parent d885b2a commit 4dd7442
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions ILSpy.Core/ILSpy.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@
<Content Include="Images\*.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<EmbeddedResource Include="Images\ILSpy.png;Images\PrivateInternal.png">
</EmbeddedResource>
</ItemGroup>


Expand Down
4 changes: 3 additions & 1 deletion ILSpy.Core/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
MinWidth="250"
MinHeight="200"
UseLayoutRounding="True"
Icon="resm:ICSharpCode.ILSpy.Images.ILSpy.png?assembly=ILSpy.Core"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" d:DesignHeight="500" d:DesignWidth="500"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
x:Class="ICSharpCode.ILSpy.MainWindow"
>
<!-- <Window.TaskbarItemInfo>
<TaskbarItemInfo />
Expand Down Expand Up @@ -47,7 +49,7 @@
<Separator />
<CheckBox IsChecked="{Binding FilterSettings.ShowInternalApi}"
ToolTip.Tip="Show internal types and members">
<Image Width="16" Height="16" Source="Images/PrivateInternal.png" />
<Image Width="16" Height="16" Source="resm:ICSharpCode.ILSpy.Images.PrivateInternal.png?assembly=ILSpy.Core" />
</CheckBox>
<Separator />
<DropDown Name="languageComboBox" Width="100"
Expand Down
2 changes: 0 additions & 2 deletions ILSpy.Core/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ public MainWindow()
this.sessionSettings = new SessionSettings(spySettings);
this.assemblyListManager = new AssemblyListManager(spySettings);

this.Icon = new WindowIcon("Images/ILSpy.png");

this.DataContext = sessionSettings;

InitializeComponent();
Expand Down

0 comments on commit 4dd7442

Please sign in to comment.