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:
authorJose Medrano <josmed@microsoft.com>2022-02-16 20:29:35 +0300
committervs-mobiletools-engineering-service2 <valco@microsoft.com>2022-03-01 18:01:15 +0300
commitecdbcea061ba4c4e5ba2963bf0cac0398638ae3e (patch)
tree8726e82cf3c0d13fa07b8aa3f0fce57648100dae
parentc2e197ead76cb32c14977c841f986ce26f695308 (diff)
Makes BasePointEditorControl first and last view use ProxyRowResponder
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/BasePointEditorControl.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/BasePointEditorControl.cs b/Xamarin.PropertyEditing.Mac/Controls/BasePointEditorControl.cs
index e60f5f4..341f93e 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/BasePointEditorControl.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/BasePointEditorControl.cs
@@ -28,6 +28,7 @@ namespace Xamarin.PropertyEditing.Mac
BackgroundColor = NSColor.Clear,
Value = 0.0f
};
+ XEditor.ResponderProxy = new ProxyRowResponder(this, ProxyRowType.FirstView);
XEditor.ValueChanged += OnInputUpdated;
YLabel = new UnfocusableTextField {
@@ -39,6 +40,7 @@ namespace Xamarin.PropertyEditing.Mac
BackgroundColor = NSColor.Clear,
Value = 0.0f
};
+ YEditor.ResponderProxy = new ProxyRowResponder (this, ProxyRowType.LastView);
YEditor.ValueChanged += OnInputUpdated;
AddSubview (XLabel);