1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 19:27:24 +08:00

Merge pull request #20265 from peppy/fix-song-progress-invalidations

Fix `SongProgress` invalidating too often
This commit is contained in:
Dan Balasescu 2022-09-13 16:51:11 +09:00 committed by GitHub
commit 08f0056b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,10 @@ namespace osu.Game.Screens.Play.HUD
if (clock != null)
gameplayClock = clock;
AutoSizeAxes = Axes.Y;
// Lock height so changes in text autosize (if character height changes)
// don't cause parent invalidation.
Height = 14;
Children = new Drawable[]
{
new Container