Skip to content

Commit

Permalink
fix(ColorPicker): Fully qualify ToolTip for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
robloo committed Sep 22, 2020
1 parent a91dd36 commit c208c90
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -107,7 +107,8 @@ private void ColorPicker_Loaded(object sender, RoutedEventArgs e)

if (colorNameToolTip != null)
{
colorNameToolTip.RegisterPropertyChangedCallback(ToolTip.ContentProperty, new DependencyPropertyChangedCallback(ColorNameToolTipContentChanged));
// Uno Doc: ToolTip must be fully qualified for iOS/macOS where NSView.ToolTip also exists
colorNameToolTip.RegisterPropertyChangedCallback(Windows.UI.Xaml.Controls.ToolTip.ContentProperty, new DependencyPropertyChangedCallback(ColorNameToolTipContentChanged));
UpdateSelectedColorName();
}
}
Expand Down

0 comments on commit c208c90

Please sign in to comment.