зеркало из https://github.com/DeGsoft/maui-linux.git
Make sure PlatformConfiguration created with Stepper (#2994)
This commit is contained in:
Родитель
e0bc1f7a5d
Коммит
487b669aaf
|
@ -50,7 +50,7 @@ namespace Xamarin.Forms
|
||||||
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<Stepper>>(() => new PlatformConfigurationRegistry<Stepper>(this));
|
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<Stepper>>(() => new PlatformConfigurationRegistry<Stepper>(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
public Stepper(double min, double max, double val, double increment)
|
public Stepper(double min, double max, double val, double increment) : this()
|
||||||
{
|
{
|
||||||
if (min >= max)
|
if (min >= max)
|
||||||
throw new ArgumentOutOfRangeException("min");
|
throw new ArgumentOutOfRangeException("min");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче