diff --git a/ILSpy/ILSpy.csproj b/ILSpy/ILSpy.csproj index b8bdfd230..c54f80f84 100644 --- a/ILSpy/ILSpy.csproj +++ b/ILSpy/ILSpy.csproj @@ -338,7 +338,9 @@ + + @@ -513,10 +515,18 @@ Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile + + Designer + MSBuild:Compile + Designer MSBuild:Compile diff --git a/ILSpy/Images/Images.cs b/ILSpy/Images/Images.cs index eedb1de24..8db74138e 100644 --- a/ILSpy/Images/Images.cs +++ b/ILSpy/Images/Images.cs @@ -392,17 +392,19 @@ namespace ICSharpCode.ILSpy baseDrawing = (DrawingGroup)baseImage; } - if (overlay != null) { + if (overlay != null || isStatic) { var nestedGroup = new DrawingGroup { Transform = new ScaleTransform(0.8, 0.8) }; nestedGroup.Children.Add(baseDrawing); group.Children.Add(nestedGroup); + } else { + group.Children.Add(baseDrawing); + } + if (overlay != null) { if (overlay is ImageSource overlayImage) group.Children.Add(new ImageDrawing(overlayImage, iconRect)); else group.Children.Add((DrawingGroup)overlay); - } else { - group.Children.Add(baseDrawing); } if (isStatic) { diff --git a/ILSpy/Images/OverlayPrivateProtected.png b/ILSpy/Images/OverlayPrivateProtected.png index 497753285..aacc0f65e 100644 Binary files a/ILSpy/Images/OverlayPrivateProtected.png and b/ILSpy/Images/OverlayPrivateProtected.png differ diff --git a/ILSpy/Images/OverlayProtectedInternal.png b/ILSpy/Images/OverlayProtectedInternal.png index 8f655d30d..2de3f0ebe 100644 Binary files a/ILSpy/Images/OverlayProtectedInternal.png and b/ILSpy/Images/OverlayProtectedInternal.png differ diff --git a/ILSpy/Images/OverlayStatic.png b/ILSpy/Images/OverlayStatic.png index e6a140ff3..01365fae5 100644 Binary files a/ILSpy/Images/OverlayStatic.png and b/ILSpy/Images/OverlayStatic.png differ diff --git a/ILSpy/Images/OverlayStatic.svg b/ILSpy/Images/OverlayStatic.svg new file mode 100644 index 000000000..1151193b2 --- /dev/null +++ b/ILSpy/Images/OverlayStatic.svg @@ -0,0 +1,73 @@ + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/ILSpy/Images/OverlayStatic.xaml b/ILSpy/Images/OverlayStatic.xaml index 525b65af6..fee145f39 100644 Binary files a/ILSpy/Images/OverlayStatic.xaml and b/ILSpy/Images/OverlayStatic.xaml differ diff --git a/ILSpy/Images/StaticClass.png b/ILSpy/Images/StaticClass.png deleted file mode 100644 index 4f200b2a0..000000000 Binary files a/ILSpy/Images/StaticClass.png and /dev/null differ