mirror of
https://github.com/osukey/osukey.git
synced 2025-06-14 07:47:59 +09: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
|
// This is done as an optimization, such that invisible parts of the waves
|
||||||
// are masked away, and thus do not consume fill rate.
|
// 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
|
private class Wave : VisibilityContainer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user