1 parent
f4d949460a
commit
c9920ba951
1 file changed
+2
-6
@@ -210,7 +210,7 @@ namespace HandyControl.Controls
|
|||||||
{
|
{
|
||||||
ctl.Value = maximum;
|
ctl.Value = maximum;
|
||||||
}
|
}
|
||||||
|
ctl.SetText();
|
||||||
return num > maximum ? maximum : num;
|
return num > maximum ? maximum : num;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -220,11 +220,7 @@ namespace HandyControl.Controls
|
|||||||
public double Value
|
public double Value
|
||||||
{
|
{
|
||||||
get => (double)GetValue(ValueProperty);
|
get => (double)GetValue(ValueProperty);
|
||||||
set
|
set => SetValue(ValueProperty, value);
|
||||||
{
|
|
||||||
SetValue(ValueProperty, value);
|
|
||||||
SetText();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in new issue
Block a user