diff options
author | Eric Maupin <me@ermau.com> | 2018-10-03 18:47:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 18:47:50 +0300 |
commit | 975418467231e9777df106a9c1a84c455d6dd7d8 (patch) | |
tree | 4aa048a3dc31d72a53afd14594f0fafa22fcc1ac | |
parent | 0db5cae86a04c7bf5ecf14771e794757b68ee9a1 (diff) | |
parent | d7beecb175793c2edce59a082508b76d321449b3 (diff) |
Merge pull request #414 from xamarin/bleroy-mac-color-picker-stability
Don't notify changes for any value change of a spin editor
-rw-r--r-- | Xamarin.PropertyEditing.Mac/Controls/Custom/NumericSpinEditor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericSpinEditor.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericSpinEditor.cs index 2ef4c0a..c77d1a5 100644 --- a/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericSpinEditor.cs +++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/NumericSpinEditor.cs @@ -262,7 +262,6 @@ namespace Xamarin.PropertyEditing.Mac { if (numericEditor.StringValue != value) { numericEditor.StringValue = value; - NotifyingValueChanged (EventArgs.Empty); } } @@ -300,6 +299,7 @@ namespace Xamarin.PropertyEditing.Mac var newValue = Clamp (numericEditor.DoubleValue + incDevValue); SetValue (newValue); + NotifyingValueChanged (EventArgs.Empty); } public double Clamp (double value) |