mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +08:00
Fix waves not displaying at all
This commit is contained in:
parent
d27a0db45c
commit
93511266e5
@ -125,7 +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.
|
||||
wavesContainer.Height = Math.Max(0, DrawHeight - (contentContainer.DrawHeight - contentContainer.Y));
|
||||
wavesContainer.Height = Math.Max(0, DrawHeight - (contentContainer.DrawHeight - contentContainer.Y * DrawHeight));
|
||||
}
|
||||
|
||||
private class Wave : VisibilityContainer
|
||||
|
Loading…
Reference in New Issue
Block a user