mirror of
https://github.com/ppy/osu.git
synced 2025-01-21 12:12:56 +08:00
Adjust comments and formatting of comments
This commit is contained in:
parent
4248453616
commit
48f7e0163c
@ -29,7 +29,7 @@ namespace osu.Game.Screens.Select.FooterV2
|
|||||||
private const int corner_radius = 10;
|
private const int corner_radius = 10;
|
||||||
private const int transition_length = 500;
|
private const int transition_length = 500;
|
||||||
|
|
||||||
//Accounts for corner radius margin on bottom, would be 12
|
// This should be 12 by design, but an extra allowance is added due to the corner radius specification.
|
||||||
public const float SHEAR_WIDTH = 13.5f;
|
public const float SHEAR_WIDTH = 13.5f;
|
||||||
|
|
||||||
public Bindable<Visibility> OverlayState = new Bindable<Visibility>();
|
public Bindable<Visibility> OverlayState = new Bindable<Visibility>();
|
||||||
@ -88,7 +88,7 @@ namespace osu.Game.Screens.Select.FooterV2
|
|||||||
RelativeSizeAxes = Axes.Both
|
RelativeSizeAxes = Axes.Both
|
||||||
},
|
},
|
||||||
|
|
||||||
//For elements that should not be sheared.
|
// For elements that should not be sheared.
|
||||||
new Container
|
new Container
|
||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
@ -105,7 +105,7 @@ namespace osu.Game.Screens.Select.FooterV2
|
|||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
Child = text = new OsuSpriteText
|
Child = text = new OsuSpriteText
|
||||||
{
|
{
|
||||||
//figma design says the size is 16, but due to the issues with font sizes 19 matches better
|
// figma design says the size is 16, but due to the issues with font sizes 19 matches better
|
||||||
Font = OsuFont.TorusAlternate.With(size: 19),
|
Font = OsuFont.TorusAlternate.With(size: 19),
|
||||||
AlwaysPresent = true
|
AlwaysPresent = true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user