mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Adjust Control Disabled design.
This commit is contained in:
parent
94023cf5cd
commit
77831df782
2 changed files with 3 additions and 3 deletions
|
|
@ -2519,7 +2519,7 @@
|
|||
Width="Auto"
|
||||
BorderThickness="1"
|
||||
Style="{StaticResource SettingSeparatorStyle}" />
|
||||
<Border Margin="0" BorderThickness="0">
|
||||
<Border Margin="0" BorderThickness="0" Name="VolumeAdjustCard">
|
||||
<Border.Style>
|
||||
<Style BasedOn="{StaticResource SettingGroupBox}" TargetType="Border">
|
||||
<Setter Property="Visibility" Value="Collapsed" />
|
||||
|
|
|
|||
|
|
@ -71,10 +71,10 @@ namespace Flow.Launcher
|
|||
private void CheckMediaPlayer()
|
||||
{
|
||||
|
||||
if (!File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Windows Media Player", "wmplayer.exe")))
|
||||
if (!File.Exists(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles), "Windows Media Player", "wmplayer2.exe")))
|
||||
{
|
||||
WMPWarning.Visibility = Visibility.Visible;
|
||||
SoundEffectValue.IsEnabled = false;
|
||||
VolumeAdjustCard.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
}
|
||||
private void SettingsWindowViewModelChanged(object sender, PropertyChangedEventArgs e)
|
||||
|
|
|
|||
Loading…
Reference in a new issue