1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 03:13:21 +08:00

Remove unnecessary overlap

This commit is contained in:
Dean Herbert 2020-05-12 15:44:14 +09:00
parent 949e17cc0e
commit c7d8793c1d

View File

@ -79,7 +79,7 @@ namespace osu.Game.Rulesets.Taiko.Skinning
{ {
// add the x coordinates and perform re-layout on all sprites as spacing may change with gameplay scale. // add the x coordinates and perform re-layout on all sprites as spacing may change with gameplay scale.
sprite.X = currentX; sprite.X = currentX;
currentX += sprite.DrawWidth - 1; currentX += sprite.DrawWidth;
} }
if (first.ScreenSpaceDrawQuad.TopLeft.X >= ScreenSpaceDrawQuad.TopLeft.X) if (first.ScreenSpaceDrawQuad.TopLeft.X >= ScreenSpaceDrawQuad.TopLeft.X)