1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 13:22:55 +08:00

Remove unnecessary special cases

This commit is contained in:
Dean Herbert 2019-07-25 16:24:10 +09:00
parent c1b0130857
commit bfaf9d5f41

View File

@ -129,20 +129,8 @@ namespace osu.Game.Skinning
}
if (texture != null)
{
texture.ScaleAdjust = ratio;
switch (componentName)
{
case "cursormiddle":
case "cursortrail":
case "cursor":
// apply inverse of adjustment in OsuPlayfieldAdjustmentContainer for non-gameplay-scale textures.
texture.ScaleAdjust *= 1.6f;
break;
}
}
return texture;
}