From d8b20835877e6d3e20075d2edc0f5a495d8caf94 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Mon, 7 Nov 2022 05:55:29 -0600 Subject: [PATCH] Virtualizing the plugin list --- Flow.Launcher/SettingWindow.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 57b0174f6..7c62b34bb 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -1037,12 +1037,12 @@ Background="{DynamicResource Color01B}" ItemContainerStyle="{StaticResource PluginList}" ItemsSource="{Binding PluginViewModels}" - ScrollViewer.CanContentScroll="False" + ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Disabled" SelectedItem="{Binding SelectedPlugin}" - SnapsToDevicePixels="True" Style="{DynamicResource PluginListStyle}" VirtualizingStackPanel.IsVirtualizing="True" + VirtualizingPanel.ScrollUnit="Pixel" VirtualizingStackPanel.VirtualizationMode="Recycling">