diff options
author | Marius Ungureanu <teromario@yahoo.com> | 2019-05-01 01:17:19 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-01 01:17:19 +0300 |
commit | 5e396acbd8d4985ae69836442508783b33e5d7c8 (patch) | |
tree | 83604cf7d39305956ed5c58fe07261abe90f965c /Xamarin.PropertyEditing.Mac/Controls | |
parent | 0cfc5bbeb381efda086147302f9bf662a30ec826 (diff) |
Update Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialView.cs
Co-Authored-By: AnBucyk <anbucyk@microsoft.com>
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialView.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialView.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialView.cs index 10d3cfb..d65aec1 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialView.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/MaterialView.cs @@ -148,7 +148,7 @@ namespace Xamarin.PropertyEditing.Mac l.ColorType = MaterialColorType.Accent; l.IsSelected = color.Value == ViewModel.AccentColor || color.Value == ViewModel.Color; l.Frame = new CGRect (x, 0, width, height); - AddToolTip (new CGRect (x, y, width, height), new NSString (color.ToString ()), new IntPtr ()); + AddToolTip (new CGRect (x, y, width, height), new NSString (color.ToString ()), IntPtr.Zero); accent.AddSublayer (l); x += width; } |