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:
parent
c1b0130857
commit
bfaf9d5f41
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user