diff options
author | Larry Ewing <lewing@microsoft.com> | 2018-06-28 21:08:36 +0300 |
---|---|---|
committer | Larry Ewing <lewing@microsoft.com> | 2018-07-16 22:05:49 +0300 |
commit | 0a609e6fc80f77ca1bf5a12a5c8278eea93782b5 (patch) | |
tree | dc98c2a648e2a802a8097ba38b76f06ead2674ba /Xamarin.PropertyEditing.Mac/Controls | |
parent | 29fb9b44e9516190b35b43b6aec33f94dbf3c3ff (diff) |
Remove redundant null check
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls')
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs index 1ffbd5d..427e7ab 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/BrushEditorControl.cs @@ -32,7 +32,7 @@ namespace Xamarin.PropertyEditing.Mac return; if (!Popover.Shown) - Popover?.Show (new CGRect (20, this.Frame.Height / 2 - 2.5, 5, 5), this, NSRectEdge.MinYEdge); + Popover.Show (new CGRect (20, this.Frame.Height / 2 - 2.5, 5, 5), this, NSRectEdge.MinYEdge); } } @@ -71,7 +71,6 @@ namespace Xamarin.PropertyEditing.Mac readonly ColorPopUpButton popUpButton; - //readonly BrushTabViewController colorEditor; readonly NSPopover popover; readonly BrushTabViewController brushTabViewController; readonly NSMenu popupButtonList; |