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:
authorLarry Ewing <lewing@xamarin.com>2018-05-17 20:36:28 +0300
committerLarry Ewing <lewing@microsoft.com>2018-07-16 22:05:49 +0300
commitcfa9fb2075029b9de72083568137ff17703ef9ff (patch)
tree07907c45638825781d799fec251b637223fecb0f /Xamarin.PropertyEditing.Mac/Controls/Custom
parent2b207dd47b9c4a5fd46b129bef6dd867326f953d (diff)
Round to higher precision than the model (3 digits)
Diffstat (limited to 'Xamarin.PropertyEditing.Mac/Controls/Custom')
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/ChannelEditor.cs16
-rw-r--r--Xamarin.PropertyEditing.Mac/Controls/Custom/ComponentSpinEditor.cs2
2 files changed, 9 insertions, 9 deletions
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/ChannelEditor.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/ChannelEditor.cs
index 8a09f44..e8b6837 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/ChannelEditor.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/ChannelEditor.cs
@@ -142,7 +142,7 @@ namespace Xamarin.PropertyEditing.Mac
class CyanChannelEditor : ChannelEditor
{
- public CyanChannelEditor () : base ("C", 0d, 1d, .01d)
+ public CyanChannelEditor () : base ("C", 0d, 1d, .001d)
{
}
@@ -155,7 +155,7 @@ namespace Xamarin.PropertyEditing.Mac
class MagentaChannelEditor : ChannelEditor
{
- public MagentaChannelEditor () : base ("M", 0d, 1d, .01d)
+ public MagentaChannelEditor () : base ("M", 0d, 1d, .001d)
{
}
@@ -168,7 +168,7 @@ namespace Xamarin.PropertyEditing.Mac
class YellowChannelEditor : ChannelEditor
{
- public YellowChannelEditor () : base ("Y", 0d, 1d, .01d)
+ public YellowChannelEditor () : base ("Y", 0d, 1d, .001d)
{
}
@@ -181,7 +181,7 @@ namespace Xamarin.PropertyEditing.Mac
class BlackChannelEditor : ChannelEditor
{
- public BlackChannelEditor () : base ("K", 0d, 1d, .01d)
+ public BlackChannelEditor () : base ("K", 0d, 1d, .001d)
{
}
@@ -207,7 +207,7 @@ namespace Xamarin.PropertyEditing.Mac
class HsbSaturationChannelEditor : ChannelEditor
{
- public HsbSaturationChannelEditor () : base ("S", 0d, 1d, .01d)
+ public HsbSaturationChannelEditor () : base ("S", 0d, 1d, .001d)
{
}
@@ -220,7 +220,7 @@ namespace Xamarin.PropertyEditing.Mac
class HsbBrightnessChannelEditor : ChannelEditor
{
- public HsbBrightnessChannelEditor () : base ("B", 0d, 1d, .01d)
+ public HsbBrightnessChannelEditor () : base ("B", 0d, 1d, .001d)
{
}
@@ -246,7 +246,7 @@ namespace Xamarin.PropertyEditing.Mac
class HlsLightnessChannelEditor : ChannelEditor
{
- public HlsLightnessChannelEditor () : base ("L", 0d, 1d, .01d)
+ public HlsLightnessChannelEditor () : base ("L", 0d, 1d, .001d)
{
}
@@ -259,7 +259,7 @@ namespace Xamarin.PropertyEditing.Mac
class HlsSaturationChannelEditor : ChannelEditor
{
- public HlsSaturationChannelEditor () : base ("S", 0d, 1d, .01d)
+ public HlsSaturationChannelEditor () : base ("S", 0d, 1d, .001d)
{
}
diff --git a/Xamarin.PropertyEditing.Mac/Controls/Custom/ComponentSpinEditor.cs b/Xamarin.PropertyEditing.Mac/Controls/Custom/ComponentSpinEditor.cs
index 0f05b29..a02973d 100644
--- a/Xamarin.PropertyEditing.Mac/Controls/Custom/ComponentSpinEditor.cs
+++ b/Xamarin.PropertyEditing.Mac/Controls/Custom/ComponentSpinEditor.cs
@@ -8,7 +8,7 @@
MinimumValue = component.MinimumValue;
MaximumValue = component.MaximumValue;
IncrementValue = component.IncrementValue;
- Digits = 2;
+ Digits = 3;
}
public ChannelEditor ComponentEditor { get; }