From 749a55a30e486df4e22149d5cbf6e468c4732160 Mon Sep 17 00:00:00 2001 From: Alexey Golub Date: Thu, 28 Sep 2017 22:32:29 +0300 Subject: [PATCH] Round guild icons --- DiscordChatExporter/Views/MainWindow.ammy | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/DiscordChatExporter/Views/MainWindow.ammy b/DiscordChatExporter/Views/MainWindow.ammy index 2b827d7d..503a1ad1 100644 --- a/DiscordChatExporter/Views/MainWindow.ammy +++ b/DiscordChatExporter/Views/MainWindow.ammy @@ -128,9 +128,16 @@ Window "DiscordChatExporter.Views.MainWindow" { Cursor: CursorType.Hand Image { - Margin: "12 6 12 6" + Margin: "12 4 12 4" Width: 48 Height: 48 + OpacityMask: RadialGradientBrush { + GradientStops: [ + GradientStop { Color: "#FF000000", Offset: 0 } + GradientStop { Color: "#FF000000", Offset: 0.96 } + GradientStop { Color: "#00000000", Offset: 1 } + ] + } Source: bind IconUrl ToolTip: bind Name }