Skip to content

Commit

Permalink
fixed an issue when hiding tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-rodriguez committed Feb 8, 2017
1 parent 552bbca commit 8bf6770
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UwpView/Charts/Base/Chart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ private static void TooltipTimeoutCallback(DependencyObject dependencyObject,
/// </summary>
public void HideTooltip()
{
if (DataTooltip == null) return;
if (TooltipContainer == null) return;

TooltipContainer.IsOpen = false;
}
Expand Down
2 changes: 1 addition & 1 deletion WpfView/Charts/Base/Chart.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ private static void TooltipTimeoutCallback(DependencyObject dependencyObject, De
/// </summary>
public void HideTooltip()
{
if (DataTooltip == null) return;
if (TooltipContainer == null) return;

TooltipContainer.IsOpen = false;
}
Expand Down

0 comments on commit 8bf6770

Please sign in to comment.