mirror of
https://github.com/osukey/osukey.git
synced 2025-04-29 02:37:25 +09: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;
|
return null;
|
||||||
|
|
||||||
case OsuSkinComponents.CursorRipple:
|
case OsuSkinComponents.CursorRipple:
|
||||||
// TODO: resize texture to 0.5?? but that might break skins..
|
|
||||||
if (GetTexture("cursor-ripple") != null)
|
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;
|
return null;
|
||||||
|
|
||||||
|
@ -73,9 +73,8 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
|||||||
ClearTransforms(true);
|
ClearTransforms(true);
|
||||||
|
|
||||||
this.ScaleTo(0.05f)
|
this.ScaleTo(0.05f)
|
||||||
.ScaleTo(0.5f, 700, Easing.Out)
|
.ScaleTo(1, 700, Easing.Out)
|
||||||
.FadeTo(0.2f)
|
.FadeOutFromOne(700)
|
||||||
.FadeOut(700)
|
|
||||||
.Expire(true);
|
.Expire(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -91,7 +90,8 @@ namespace osu.Game.Rulesets.Osu.UI.Cursor
|
|||||||
{
|
{
|
||||||
new RingPiece(3)
|
new RingPiece(3)
|
||||||
{
|
{
|
||||||
Size = new Vector2(512),
|
Size = new Vector2(256),
|
||||||
|
Alpha = 0.2f,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user