Skip to content

Commit 0700910

Browse files
authored
Merge branch 'dev' into jsonrpc_v2
2 parents f5b1b4f + 6ed7453 commit 0700910

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Flow.Launcher/Flow.Launcher.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
</ItemGroup>
8484

8585
<ItemGroup>
86-
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.1" />
86+
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
8787
<PackageReference Include="Fody" Version="6.5.4">
8888
<PrivateAssets>all</PrivateAssets>
8989
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

Plugins/Flow.Launcher.Plugin.Sys/SysSettings.xaml.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ private void ListView_SizeChanged(object sender, SizeChangedEventArgs e)
2222

2323
var workingWidth = listView.ActualWidth - SystemParameters.VerticalScrollBarWidth; // take into account vertical scrollbar
2424
var col1 = 0.3;
25-
var col2 = 0.7;
25+
var col2 = 0.7;
26+
27+
if (workingWidth <= 0)
28+
{
29+
return;
30+
}
2631

2732
gView.Columns[0].Width = workingWidth * col1;
2833
gView.Columns[1].Width = workingWidth * col2;

0 commit comments

Comments
 (0)