1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-31 16:32:55 +08:00

skinning changes

improve default design
This commit is contained in:
Sheepposu 2024-02-23 23:46:50 -05:00
parent c95e85368f
commit 8cdd9c9ddc
3 changed files with 4 additions and 11 deletions

View File

@ -23,7 +23,6 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(3, length),
Rotation = 45,
Colour = Colour4.Black.Opacity(0.5F)
},
new Box
@ -31,7 +30,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(3, length),
Rotation = 135,
Rotation = 90,
Colour = Colour4.Black.Opacity(0.5F)
}
};
@ -44,7 +43,6 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(1, length),
Rotation = 45,
Colour = colour
},
new Box
@ -52,7 +50,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Size = new Vector2(1, length),
Rotation = 135,
Rotation = 90,
Colour = colour
}
});
@ -69,7 +67,7 @@ namespace osu.Game.Rulesets.Osu.Skinning.Default
return (Colour4.LightGreen, 20, true);
default:
return (Colour4.Gray.Opacity(0.3F), 8, false);
return (Colour4.Gray.Opacity(0.5F), 8, false);
}
}
}

View File

@ -10,6 +10,5 @@ namespace osu.Game.Rulesets.Osu.Skinning
SliderBall,
SpinnerBackground,
StarBreakAdditive,
ReplayAimLine,
}
}

View File

@ -12,7 +12,6 @@ using osu.Framework.Graphics.Pooling;
using osu.Game.Replays;
using osu.Game.Rulesets.Objects.Pooling;
using osu.Game.Rulesets.Osu.Replays;
using osu.Game.Rulesets.Osu.Skinning;
using osu.Game.Rulesets.Osu.Skinning.Default;
using osu.Game.Rulesets.UI;
using osu.Game.Skinning;
@ -47,11 +46,8 @@ namespace osu.Game.Rulesets.Osu.UI
}
[BackgroundDependencyLoader]
private void load(ISkinSource skin)
private void load()
{
var aimLineColor = skin.GetConfig<OsuSkinColour, Color4>(OsuSkinColour.ReplayAimLine)?.Value ?? Color4.White;
aimLineColor.A = 127;
hitMarkersContainer.Hide();
aimMarkersContainer.Hide();
aimLinesContainer.Hide();