mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Remove unnecessary special cases
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user