mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove Icon X & Y hard coded dependency
This commit is contained in:
parent
239c9d7a93
commit
70ea6a89e3
2 changed files with 4 additions and 2 deletions
|
|
@ -82,8 +82,8 @@
|
|||
BorderThickness="0">
|
||||
<Image
|
||||
x:Name="ImageIcon"
|
||||
Width="32"
|
||||
Height="32"
|
||||
Width="{Binding IconXY}"
|
||||
Height="{Binding IconXY}"
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
Source="{Binding Image, TargetNullValue={x:Null}}"
|
||||
|
|
|
|||
|
|
@ -165,6 +165,8 @@ namespace Flow.Launcher.ViewModel
|
|||
|
||||
public string QuerySuggestionText { get; set; }
|
||||
|
||||
public double IconXY { get; set; } = 32;
|
||||
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
return obj is ResultViewModel r && Result.Equals(r.Result);
|
||||
|
|
|
|||
Loading…
Reference in a new issue