mirror of
https://github.com/ppy/osu
synced 2025-02-04 04:11:54 +00: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