mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 17:43:05 +08:00
Add a note about local optimisation that may not be required in the future
This commit is contained in:
parent
2fcd428d73
commit
e1d0d26669
@ -125,6 +125,7 @@ namespace osu.Game.Graphics.Containers
|
||||
|
||||
// This is done as an optimization, such that invisible parts of the waves
|
||||
// are masked away, and thus do not consume fill rate.
|
||||
// todo: revert https://github.com/ppy/osu/commit/aff9e3617da0c8fe252169fae287e39b44575b5e after FTB is fixed on iOS.
|
||||
wavesContainer.Height = Math.Max(0, DrawHeight - (contentContainer.DrawHeight - contentContainer.Y * DrawHeight));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user