Skip to content

Commit

Permalink
Change the same area icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
C1rdec committed Jan 6, 2020
1 parent f40a610 commit fbc6a8a
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
18 changes: 7 additions & 11 deletions src/Lurker.UI/SVG/InInstance.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Lurker.UI/Svg.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public static class IconPackData
/// <summary>
/// Gets the icon pack data for the icon InInstance.
/// </summary>
public static string InInstance => "M204.583,216.671c50.664,0,91.74-48.075,91.74-107.378c0-82.237-41.074-107.377-91.74-107.377 c-50.668,0-91.74,25.14-91.74,107.377C112.844,168.596,153.916,216.671,204.583,216.671z M407.164,374.717L360.88,270.454c-2.117-4.771-5.836-8.728-10.465-11.138l-71.83-37.392 c-1.584-0.823-3.502-0.663-4.926,0.415c-20.316,15.366-44.203,23.488-69.076,23.488c-24.877,0-48.762-8.122-69.078-23.488 c-1.428-1.078-3.346-1.238-4.93-0.415L58.75,259.316c-4.631,2.41-8.346,6.365-10.465,11.138L2.001,374.717 c-3.191,7.188-2.537,15.412,1.75,22.005c4.285,6.592,11.537,10.526,19.4,10.526h362.861c7.863,0,15.117-3.936,19.402-10.527 C409.699,390.129,410.355,381.902,407.164,374.717z";
public static string InInstance => "M149.996,0C67.157,0,0.001,67.158,0.001,149.997c0,82.837,67.156,150,149.995,150s150-67.163,150-150 C299.996,67.156,232.835,0,149.996,0z M150.453,220.763v-0.002h-0.916H85.465c0-46.856,41.152-46.845,50.284-59.097l1.045-5.587 c-12.83-6.502-21.887-22.178-21.887-40.512c0-24.154,15.712-43.738,35.089-43.738c19.377,0,35.089,19.584,35.089,43.738 c0,18.178-8.896,33.756-21.555,40.361l1.19,6.349c10.019,11.658,49.802,12.418,49.802,58.488H150.453z";

#endregion
}
Expand Down
17 changes: 9 additions & 8 deletions src/Lurker.UI/Views/OfferView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@
Visibility="{Binding CurrencyType,
Converter={Converters:CurrencyTypeConverter},
ConverterParameter={x:Static Models:CurrencyType.Divine}}"/>
<local:IconPack HorizontalAlignment="Left"
VerticalAlignment="Bottom"
Foreground="White"
Grid.Row="2"
Margin="1,0,0,0"
Visibility="{Binding BuyerInSameInstance, Converter={StaticResource BooleanToVisibilityConverter}}"
Height="15"
Width="15"
Data="{x:Static local:IconPackData.InInstance}"/>
<TextBlock TextTrimming="CharacterEllipsis"
HorizontalAlignment="Right"
Foreground="White"
Expand Down Expand Up @@ -219,14 +228,6 @@
</Style>
</Button.Style>
</Button>
<local:IconPack HorizontalAlignment="Right"
Grid.Row="1"
VerticalAlignment="Bottom"
Foreground="#303030"
Height="15"
Width="15"
Visibility="{Binding BuyerInSameInstance, Converter={StaticResource BooleanToVisibilityConverter}}"
Data="{x:Static local:IconPackData.InInstance}"/>
</Grid>
</Border>
</ControlTemplate>
Expand Down

0 comments on commit fbc6a8a

Please sign in to comment.