Skip to content

Commit

Permalink
Fixes #513 by changing target for mouse over detection
Browse files Browse the repository at this point in the history
  • Loading branch information
batzen committed Feb 3, 2018
1 parent e182030 commit 7011fac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- ### Bug fixes
- [#512](../../issues/512) - Ideal text color should match the colors in the ribbon
- [#513](../../issues/513) - Hovering causes flickering of ribbon backstage menu items

## 6.0.0

Expand Down
4 changes: 3 additions & 1 deletion Fluent.Ribbon/Themes/Controls/BackstageTabItem.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
xmlns:Fluent="clr-namespace:Fluent">
<ControlTemplate x:Key="BackstageTabItemControlTemplate"
TargetType="{x:Type Fluent:BackstageTabItem}">
<Grid Background="Transparent">
<Grid x:Name="rootGrid"
Background="Transparent">
<Border x:Name="selectedBorder"
Margin="0"
Visibility="Collapsed"
Expand Down Expand Up @@ -46,6 +47,7 @@
Value="Visible" />
</Trigger>
<Trigger Property="IsMouseOver"
SourceName="rootGrid"
Value="True">
<Setter TargetName="hoverBorder"
Property="Visibility"
Expand Down

0 comments on commit 7011fac

Please sign in to comment.