1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 02:32:59 +08:00

Clamp TimeSpan.

This commit is contained in:
smoogipooo 2017-05-16 17:06:54 +09:00
parent 8d19bafc19
commit 62139015fb

View File

@ -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);
}