diff --git a/Flow.Launcher/SettingPages/ViewModels/SettingsPaneThemeViewModel.cs b/Flow.Launcher/SettingPages/ViewModels/SettingsPaneThemeViewModel.cs index 84b71d0b4..83a6c5769 100644 --- a/Flow.Launcher/SettingPages/ViewModels/SettingsPaneThemeViewModel.cs +++ b/Flow.Launcher/SettingPages/ViewModels/SettingsPaneThemeViewModel.cs @@ -43,6 +43,7 @@ public partial class SettingsPaneThemeViewModel : BaseModel //uThemeManager.Instance.SetBlurForWindow(); } } + public bool IsBackdropEnabled => SelectedTheme?.HasBlur ?? false; public bool DropShadowEffect { diff --git a/Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml b/Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml index ad636412c..b429888bf 100644 --- a/Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml +++ b/Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml @@ -467,13 +467,15 @@ Sub="{DynamicResource shadowEffectRestart}"> + MinWidth="160" + VerticalAlignment="Center" + DisplayMemberPath="Display" + FontSize="14" + ItemsSource="{Binding BackdropTypesList}" + SelectedValue="{Binding BackdropType, Mode=TwoWay}" + SelectedValuePath="Value" + IsEnabled="{Binding IsBackdropEnabled}" /> +