Skip to content

Commit

Permalink
Increase size and adjust positioning of max combo display in argon skin
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Nov 12, 2023
1 parent 31feeb5 commit 469b9e2
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions osu.Game/Skinning/ArgonSkin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,14 @@ public ArgonSkin(SkinInfo skin, IStorageResourceProvider resources)
if (songProgress != null)
{
const float padding = 10;
// Hard to find this at runtime, so taken from the most expanded state during replay.
const float song_progress_offset_height = 36 + padding;

songProgress.Position = new Vector2(0, -padding);
songProgress.Scale = new Vector2(0.9f, 1);

if (keyCounter != null && hitError != null)
{
// Hard to find this at runtime, so taken from the most expanded state during replay.
const float song_progress_offset_height = 36 + padding;

keyCounter.Anchor = Anchor.BottomRight;
keyCounter.Origin = Anchor.BottomRight;
keyCounter.Position = new Vector2(-(hitError.Width + padding), -(padding * 2 + song_progress_offset_height));
Expand All @@ -200,7 +199,7 @@ public ArgonSkin(SkinInfo skin, IStorageResourceProvider resources)
{
combo.Anchor = Anchor.BottomLeft;
combo.Origin = Anchor.BottomLeft;
combo.Position = new Vector2(hitError.Width + padding, -50);
combo.Position = new Vector2((hitError.Width + padding), -(padding * 2 + song_progress_offset_height));
}
}
}
Expand All @@ -221,7 +220,10 @@ public ArgonSkin(SkinInfo skin, IStorageResourceProvider resources)
new ArgonHealthDisplay(),
new BoxElement(),
new ArgonAccuracyCounter(),
new ArgonComboCounter(),
new ArgonComboCounter
{
Scale = new Vector2(1.3f)
},
new BarHitErrorMeter(),
new BarHitErrorMeter(),
new ArgonSongProgress(),
Expand Down

0 comments on commit 469b9e2

Please sign in to comment.