mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 23:53:51 +09:00
Fix cursor particle scale
This commit is contained in:
@ -39,6 +39,12 @@ namespace osu.Game.Rulesets.Osu.Skinning.Legacy
|
|||||||
var texture = skin.GetTexture("star2");
|
var texture = skin.GetTexture("star2");
|
||||||
var starBreakAdditive = skin.GetConfig<OsuSkinColour, Color4>(OsuSkinColour.StarBreakAdditive)?.Value ?? new Color4(255, 182, 193, 255);
|
var starBreakAdditive = skin.GetConfig<OsuSkinColour, Color4>(OsuSkinColour.StarBreakAdditive)?.Value ?? new Color4(255, 182, 193, 255);
|
||||||
|
|
||||||
|
if (texture != null)
|
||||||
|
{
|
||||||
|
// stable "magic ratio". see OsuPlayfieldAdjustmentContainer for full explanation.
|
||||||
|
texture.ScaleAdjust *= 1.6f;
|
||||||
|
}
|
||||||
|
|
||||||
InternalChildren = new[]
|
InternalChildren = new[]
|
||||||
{
|
{
|
||||||
breakSpewer = new LegacyCursorParticleSpewer(texture, 20)
|
breakSpewer = new LegacyCursorParticleSpewer(texture, 20)
|
||||||
|
Reference in New Issue
Block a user