Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xamarin/Xamarin.PropertyEditing.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Ungureanu <teromario@yahoo.com>2019-05-01 01:17:19 +0300
committerGitHub <noreply@github.com>2019-05-01 01:17:19 +0300
commit5e396acbd8d4985ae69836442508783b33e5d7c8 (patch)
tree83604cf7d39305956ed5c58fe07261abe90f965c /Xamarin.PropertyEditing.Mac/Controls
parent0cfc5bbeb381efda086147302f9bf662a30ec826 (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.cs2
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;
}