Skip to content

Commit 49e0055

Browse files
committed
Adjust backdrop info
1 parent fbe6e10 commit 49e0055

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

Flow.Launcher/Languages/en.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
<system:String x:Key="Clock">Clock</system:String>
227227
<system:String x:Key="Date">Date</system:String>
228228
<system:String x:Key="BackdropType">Backdrop Type</system:String>
229-
<system:String x:Key="BackdropTypeToolTip">You can configure the type of backdrop effect. Please note that it will not be reflected in the preview.</system:String>
229+
<system:String x:Key="BackdropInfo">The backdrop effect is not applied in the preview.</system:String>
230230
<system:String x:Key="BackdropTypeDisabledToolTip">Backdrop supported starting from Windows 11 build 22000 and above</system:String>
231231
<system:String x:Key="BackdropTypesNone">None</system:String>
232232
<system:String x:Key="BackdropTypesAcrylic">Acrylic</system:String>

Flow.Launcher/SettingPages/ViewModels/SettingsPaneThemeViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace Flow.Launcher.SettingPages.ViewModels;
2323
public partial class SettingsPaneThemeViewModel : BaseModel
2424
{
2525
private string DefaultFont = Settings.GetSystemDefaultFont();
26-
public string BackdropSubText => !Win32Helper.IsBackdropSupported() ? App.API.GetTranslation("BackdropTypeDisabledToolTip") : App.API.GetTranslation("BackdropTypeToolTip");
26+
public string BackdropSubText => !Win32Helper.IsBackdropSupported() ? App.API.GetTranslation("BackdropTypeDisabledToolTip") : "";
2727
public Settings Settings { get; }
2828
private readonly Theme _theme = Ioc.Default.GetRequiredService<Theme>();
2929

Flow.Launcher/SettingPages/Views/SettingsPaneTheme.xaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@
305305
<StackPanel VerticalAlignment="Center" DockPanel.Dock="Left">
306306
<Border
307307
Width="400"
308-
Margin="40 30 0 30"
308+
Margin="40 30 0 10"
309309
SnapsToDevicePixels="True"
310310
Style="{DynamicResource PreviewWindowBorderStyle}">
311311
<Border BorderThickness="0" Style="{DynamicResource WindowRadius}">
@@ -370,6 +370,17 @@
370370
</Grid>
371371
</Border>
372372
</Border>
373+
<Border
374+
Margin="0 0 0 20"
375+
Padding="8 4 8 4"
376+
HorizontalAlignment="Center"
377+
Background="#89000000"
378+
CornerRadius="4">
379+
<TextBlock
380+
FontSize="10"
381+
Foreground="#62FFFFFF"
382+
Text="{DynamicResource BackdropInfo}" />
383+
</Border>
373384
</StackPanel>
374385
</DockPanel>
375386
</Border>

0 commit comments

Comments
 (0)