mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 09:27:29 +08:00
Change default scaling and add note about legacy cursor-ripple
scale
This commit is contained in:
parent
6a62949fcd
commit
72b472a756
@ -101,9 +101,24 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
||||
return null;
|
||||
|
||||
case OsuSkinComponents.CursorRipple:
|
||||
// TODO: resize texture to 0.5?? but that might break skins..
|
||||
if (GetTexture("cursor-ripple") != null)
|
||||
return this.GetAnimation("cursor-ripple", false, false);
|
||||
{
|
||||
var ripple = this.GetAnimation("cursor-ripple", false, false);
|
||||
|
||||
// In stable this element was scaled down to 50% and opacity 20%, but this makes the elements WAY too big and inflexible.
|
||||
// If anyone complains about these not being applied, this can be uncommented.
|
||||
//
|
||||
// But if no one complains I'd rather fix this in lazer. Wiki documentation doesn't mention size,
|
||||
// so we might be okay.
|
||||
//
|
||||
// if (ripple != null)
|
||||
// {
|
||||
// ripple.Scale = new Vector2(0.5f);
|
||||
// ripple.Alpha = 0.2f;
|
||||
// }
|
||||
|
||||
return ripple;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
|
@ -73,9 +73,8 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
||||
ClearTransforms(true);
|
||||
|
||||
this.ScaleTo(0.05f)
|
||||
.ScaleTo(0.5f, 700, Easing.Out)
|
||||
.FadeTo(0.2f)
|
||||
.FadeOut(700)
|
||||
.ScaleTo(1, 700, Easing.Out)
|
||||
.FadeOutFromOne(700)
|
||||
.Expire(true);
|
||||
}
|
||||
}
|
||||
@ -91,7 +90,8 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
||||
{
|
||||
new RingPiece(3)
|
||||
{
|
||||
Size = new Vector2(512),
|
||||
Size = new Vector2(256),
|
||||
Alpha = 0.2f,
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user