mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 02:32:59 +08:00
Clamp TimeSpan.
This commit is contained in:
parent
8d19bafc19
commit
62139015fb
@ -216,6 +216,8 @@ namespace osu.Game.Rulesets.Mania.UI
|
||||
return;
|
||||
timeSpan = value;
|
||||
|
||||
timeSpan = MathHelper.Clamp(timeSpan, time_span_min, time_span_max);
|
||||
|
||||
barlineContainer.TimeSpan = value;
|
||||
Columns.Children.ForEach(c => c.TimingSectionContainer.TimeSpan = value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user