Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit e5f269f

Browse files
committed
Don't need a viewbox here
1 parent b5c7b35 commit e5f269f

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed
Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
<Viewbox
2-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3-
xmlns:cache="clr-namespace:GitHub.VisualStudio.Helpers"
4-
xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
5-
>
6-
<Viewbox.Resources>
1+
<ui:OcticonImage xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2+
xmlns:cache="clr-namespace:GitHub.VisualStudio.Helpers"
3+
xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
4+
Foreground="{DynamicResource VsBrush.ToolWindowText}"
5+
Icon="mark_github">
6+
<ui:OcticonImage.Resources>
77
<ResourceDictionary>
88
<ResourceDictionary.MergedDictionaries>
99
<cache:SharedDictionaryManager Source="pack://application:,,,/GitHub.UI;component/SharedDictionary.xaml" />
1010
</ResourceDictionary.MergedDictionaries>
1111
</ResourceDictionary>
12-
</Viewbox.Resources>
13-
<ui:OcticonImage
14-
Icon="mark_github"
15-
VerticalAlignment="Center"
16-
Background="{DynamicResource VsBrush.ToolWindowText}"
17-
/>
18-
</Viewbox>
12+
</ui:OcticonImage.Resources>
13+
</ui:OcticonImage>

0 commit comments

Comments
 (0)