mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
style<ToggleButton>: hover background for maximize/restore window button
This commit is contained in:
parent
8c46380ecd
commit
a99822ec5a
1 changed files with 2 additions and 6 deletions
|
@ -164,13 +164,9 @@
|
||||||
<Trigger Property="IsChecked" Value="True">
|
<Trigger Property="IsChecked" Value="True">
|
||||||
<Setter TargetName="Icon" Property="Data" Value="{DynamicResource Icon.Restore}"/>
|
<Setter TargetName="Icon" Property="Data" Value="{DynamicResource Icon.Restore}"/>
|
||||||
</Trigger>
|
</Trigger>
|
||||||
<MultiTrigger>
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
<MultiTrigger.Conditions>
|
|
||||||
<Condition Property="IsChecked" Value="False"/>
|
|
||||||
<Condition Property="IsMouseOver" Value="True"/>
|
|
||||||
</MultiTrigger.Conditions>
|
|
||||||
<Setter TargetName="BG" Property="Background" Value="#40000000"/>
|
<Setter TargetName="BG" Property="Background" Value="#40000000"/>
|
||||||
</MultiTrigger>
|
</Trigger>
|
||||||
</ControlTemplate.Triggers>
|
</ControlTemplate.Triggers>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
</Setter.Value>
|
</Setter.Value>
|
||||||
|
|
Loading…
Reference in a new issue