diff --git a/osu.Framework.Font/Graphics/Sprites/LyricSpriteText_Characters.cs b/osu.Framework.Font/Graphics/Sprites/LyricSpriteText_Characters.cs index 611fe0b..d0f9240 100644 --- a/osu.Framework.Font/Graphics/Sprites/LyricSpriteText_Characters.cs +++ b/osu.Framework.Font/Graphics/Sprites/LyricSpriteText_Characters.cs @@ -343,6 +343,20 @@ private void computeScreenSpaceCharacters() }); } + var positionCharacters = new List() + .Concat(rubyCharacters.SelectMany(x => x.Value)) + .Concat(romajiCharacters.SelectMany(x => x.Value)); + + foreach (var character in positionCharacters) + { + screenSpaceCharactersBacking.Add(new ScreenSpaceCharacterPart + { + DrawQuad = ToScreenSpace(character.DrawRectangle.Inflate(inflationAmount)), + InflationPercentage = Vector2.Divide(inflationAmount, character.DrawRectangle.Size), + Texture = character.Texture + }); + } + localScreenSpaceCache.Validate(); }