Formatting

This commit is contained in:
2025-06-18 12:34:52 -04:00
parent 86e821c702
commit 7687541f01

View File

@@ -10,22 +10,14 @@
<local:CompetitionOverlaySettingsViewModel/> <local:CompetitionOverlaySettingsViewModel/>
</Window.DataContext> </Window.DataContext>
<Window.Resources> <Window.Resources>
<ControlTemplate x:Key="NoMouseOverButtonTemplate" <ControlTemplate x:Key="NoMouseOverButtonTemplate" TargetType="Button">
TargetType="Button"> <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}">
<Border Background="{TemplateBinding Background}" <ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}">
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
</Border> </Border>
<ControlTemplate.Triggers> <ControlTemplate.Triggers>
<Trigger Property="IsEnabled" <Trigger Property="IsEnabled" Value="False">
Value="False"> <Setter Property="Background" Value="{x:Static SystemColors.ControlLightBrush}"/>
<Setter Property="Background" <Setter Property="Foreground" Value="{x:Static SystemColors.GrayTextBrush}"/>
Value="{x:Static SystemColors.ControlLightBrush}" />
<Setter Property="Foreground"
Value="{x:Static SystemColors.GrayTextBrush}" />
</Trigger> </Trigger>
</ControlTemplate.Triggers> </ControlTemplate.Triggers>
</ControlTemplate> </ControlTemplate>