Made ColorSelectorSliders use SpinBox instead of FloatSpinBox (#13702)

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
This commit is contained in:
DamianX
2023-03-06 19:07:49 +01:00
committed by GitHub
parent 262e887295
commit 0bd1756fb2
4 changed files with 10 additions and 12 deletions

View File

@@ -339,7 +339,7 @@ namespace Content.Client.ParticleAccelerator.UI
return (n >= 0 && n <= 3 && !_blockSpinBox);
}
private void PowerStateChanged(object? sender, ValueChangedEventArgs e)
private void PowerStateChanged(ValueChangedEventArgs e)
{
ParticleAcceleratorPowerState newState;
switch (e.Value)