mirror of https://github.com/ppy/osu
Add spacing to difficulty icons on direct panels (#5957)
Add spacing to difficulty icons on direct panels
This commit is contained in:
commit
312e12e3b4
|
@ -151,6 +151,7 @@ private void load(OsuColour colours)
|
|||
AutoSizeAxes = Axes.X,
|
||||
Height = 20,
|
||||
Margin = new MarginPadding { Top = vertical_padding, Bottom = vertical_padding },
|
||||
Spacing = new Vector2(3),
|
||||
Children = GetDifficultyIcons(colours),
|
||||
},
|
||||
},
|
||||
|
|
|
@ -129,6 +129,7 @@ private void load(OsuColour colours)
|
|||
AutoSizeAxes = Axes.X,
|
||||
Height = 20,
|
||||
Margin = new MarginPadding { Top = vertical_padding, Bottom = vertical_padding },
|
||||
Spacing = new Vector2(3),
|
||||
Children = GetDifficultyIcons(colours),
|
||||
},
|
||||
},
|
||||
|
|
|
@ -28,7 +28,7 @@ public abstract class DirectPanel : Container
|
|||
public readonly BeatmapSetInfo SetInfo;
|
||||
|
||||
private const double hover_transition_time = 400;
|
||||
private const int maximum_difficulty_icons = 15;
|
||||
private const int maximum_difficulty_icons = 10;
|
||||
|
||||
private Container content;
|
||||
|
||||
|
|
Loading…
Reference in New Issue