ui: Remove 'Focus' animation from SparkMenuButton
Not sure why this was here in the first place..it's identical to the MouseOver animation
This commit is contained in:
1 parent
f30210e4e1
commit
b119cad8a9
1 file changed
-31
@@ -89,37 +89,6 @@
|
||||
<Setter TargetName="bullet_decorator" Property="Margin" Value="5 10 10 10" />
|
||||
</Trigger>
|
||||
|
||||
<Trigger Property="IsFocused" Value="True">
|
||||
<Setter TargetName="launcher_button_border" Property="Background" Value="{u:BTSColor UI.Button.mouseover_background}" />
|
||||
<Setter TargetName="menu_item_arrow" Property="Fill" Value="{u:BTSColor UI.transparent}" />
|
||||
<Trigger.EnterActions>
|
||||
<BeginStoryboard>
|
||||
<Storyboard>
|
||||
<ThicknessAnimation
|
||||
Storyboard.TargetName="menu_item_arrow"
|
||||
Storyboard.TargetProperty="Margin"
|
||||
From="-10,0,0,0"
|
||||
To="0,0,0,0"
|
||||
Duration="0:0:0.15"
|
||||
/>
|
||||
</Storyboard>
|
||||
</BeginStoryboard>
|
||||
</Trigger.EnterActions>
|
||||
<Trigger.ExitActions>
|
||||
<BeginStoryboard>
|
||||
<Storyboard>
|
||||
<ThicknessAnimation
|
||||
Storyboard.TargetName="menu_item_arrow"
|
||||
Storyboard.TargetProperty="Margin"
|
||||
From="0,0,0,0"
|
||||
To="-10,0,0,0"
|
||||
Duration="0:0:0.2"
|
||||
/>
|
||||
</Storyboard>
|
||||
</BeginStoryboard>
|
||||
</Trigger.ExitActions>
|
||||
</Trigger>
|
||||
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter TargetName="launcher_button_border" Property="Background" Value="{u:BTSColor UI.Button.mouseover_background}" />
|
||||
<Setter TargetName="menu_item_arrow" Property="Fill" Value="{u:BTSColor UI.transparent}" />
|
||||
|
||||
Reference in new issue
Block a user