From 0a72535795de88c76727c8e706c1fcfef5a729f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 23:09:53 +0000 Subject: [PATCH 1/2] Bump CommunityToolkit.Mvvm from 8.2.1 to 8.2.2 Bumps [CommunityToolkit.Mvvm](https://github.com/CommunityToolkit/dotnet) from 8.2.1 to 8.2.2. - [Release notes](https://github.com/CommunityToolkit/dotnet/releases) - [Commits](https://github.com/CommunityToolkit/dotnet/compare/v8.2.1...v8.2.2) --- updated-dependencies: - dependency-name: CommunityToolkit.Mvvm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Flow.Launcher/Flow.Launcher.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/Flow.Launcher.csproj b/Flow.Launcher/Flow.Launcher.csproj index eaff7e473..e7b35e689 100644 --- a/Flow.Launcher/Flow.Launcher.csproj +++ b/Flow.Launcher/Flow.Launcher.csproj @@ -83,7 +83,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive From f69a6db54f53e219c71b19f0dda274e24c85516d Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Tue, 31 Oct 2023 08:51:56 -0500 Subject: [PATCH 2/2] fix a negative width --- Plugins/Flow.Launcher.Plugin.Sys/SysSettings.xaml.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Plugins/Flow.Launcher.Plugin.Sys/SysSettings.xaml.cs b/Plugins/Flow.Launcher.Plugin.Sys/SysSettings.xaml.cs index b5f1531c3..feb30821a 100644 --- a/Plugins/Flow.Launcher.Plugin.Sys/SysSettings.xaml.cs +++ b/Plugins/Flow.Launcher.Plugin.Sys/SysSettings.xaml.cs @@ -22,7 +22,12 @@ namespace Flow.Launcher.Plugin.Sys var workingWidth = listView.ActualWidth - SystemParameters.VerticalScrollBarWidth; // take into account vertical scrollbar var col1 = 0.3; - var col2 = 0.7; + var col2 = 0.7; + + if (workingWidth <= 0) + { + return; + } gView.Columns[0].Width = workingWidth * col1; gView.Columns[1].Width = workingWidth * col2;