mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 16:59:53 +09:00
enforce single signficiant digit precision for other mods
This commit is contained in:
@ -31,6 +31,6 @@ namespace osu.Game.Rulesets.Mods
|
||||
Precision = 0.01,
|
||||
};
|
||||
|
||||
public override string SettingDescription => SpeedChange.IsDefault ? string.Empty : $"{SpeedChange.Value}x";
|
||||
public override string SettingDescription => SpeedChange.IsDefault ? string.Empty : $"{SpeedChange.Value:0.#}x";
|
||||
}
|
||||
}
|
||||
|
@ -31,6 +31,6 @@ namespace osu.Game.Rulesets.Mods
|
||||
Precision = 0.01,
|
||||
};
|
||||
|
||||
public override string SettingDescription => SpeedChange.IsDefault ? string.Empty : $"{SpeedChange.Value}x";
|
||||
public override string SettingDescription => SpeedChange.IsDefault ? string.Empty : $"{SpeedChange.Value:0.#}x";
|
||||
}
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ namespace osu.Game.Rulesets.Mods
|
||||
[SettingSource("Final rate", "The final speed to ramp to")]
|
||||
public abstract BindableNumber<double> FinalRate { get; }
|
||||
|
||||
public override string SettingDescription => $"{InitialRate.Value} to {FinalRate.Value}";
|
||||
public override string SettingDescription => $"{InitialRate.Value:0.#} to {FinalRate.Value:0.#}";
|
||||
|
||||
private double finalRateTime;
|
||||
private double beginRampTime;
|
||||
|
Reference in New Issue
Block a user