We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70ea6a8 commit bd1499bCopy full SHA for bd1499b
Flow.Launcher/ResultListBox.xaml
@@ -88,7 +88,11 @@
88
HorizontalAlignment="Center"
89
Source="{Binding Image, TargetNullValue={x:Null}}"
90
Stretch="Uniform"
91
- Visibility="{Binding ShowIcon}" />
+ Visibility="{Binding ShowIcon}">
92
+ <Image.Clip>
93
+ <EllipseGeometry RadiusX="{Binding IconRadius}" RadiusY="{Binding IconRadius}" Center="16 16"/>
94
+ </Image.Clip>
95
+ </Image>
96
</Border>
97
<Border
98
Margin="9,0,0,0"
Flow.Launcher/ViewModel/ResultViewModel.cs
@@ -84,6 +84,19 @@ public Visibility ShowIcon
84
}
85
86
87
+ public double IconRadius
+ {
+ get
+ if (Result.RoundedIcon)
+ return IconXY / 2;
+ }
+ return IconXY;
+
99
100
public Visibility ShowGlyph
101
{
102
get
0 commit comments