2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-01 08:23:42 -04:00

Update to avalonia 11 preview

This commit is contained in:
Xjph
2022-12-21 11:00:42 -03:30
parent ff784b31d1
commit 523710ce25
4 changed files with 18 additions and 17 deletions

View File

@ -992,9 +992,9 @@ namespace Observatory.UI.Views
NumericUpDown numericUpDown = new() { Value = intSetting, AllowSpin = true };
if (bounds != null)
{
numericUpDown.Minimum = bounds.Minimum;
numericUpDown.Maximum = bounds.Maximum;
numericUpDown.Increment = bounds.Increment;
numericUpDown.Minimum = (decimal)bounds.Minimum;
numericUpDown.Maximum = (decimal)bounds.Maximum;
numericUpDown.Increment = (decimal)bounds.Increment;
}
numericUpDown.ValueChanged += (object sender, NumericUpDownValueChangedEventArgs e) =>
{