Rely less on zero-duration transform helpers

They have huge overheads.

See ppy/osu-framework#1411.
This commit is contained in:
Dean Herbert
2018-02-25 05:49:45 +09:00
parent 1a85186b6f
commit 0cd049c6b0
2 changed files with 5 additions and 3 deletions

View File

@ -109,7 +109,7 @@ namespace osu.Game.Screens.Play
{
var xFill = value * UsableWidth;
fill.Width = xFill;
handleBase.MoveToX(xFill);
handleBase.X = xFill;
}
protected override void OnUserChange() => OnSeek?.Invoke(Current);