mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:02:55 +08:00
Adjust icon scale + text
This commit is contained in:
parent
e96dad441d
commit
32fecc6ff4
@ -19,7 +19,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.BeatSnap
|
|||||||
private static readonly int[] available_divisors = { 1, 2, 3, 4, 6, 8, 12, 16 };
|
private static readonly int[] available_divisors = { 1, 2, 3, 4, 6, 8, 12, 16 };
|
||||||
|
|
||||||
public readonly Bindable<int> Divisor = new Bindable<int>(1);
|
public readonly Bindable<int> Divisor = new Bindable<int>(1);
|
||||||
private int currentDivisorIndex = 0;
|
private int currentDivisorIndex;
|
||||||
|
|
||||||
private TickContainer tickContainer;
|
private TickContainer tickContainer;
|
||||||
private DivisorText text;
|
private DivisorText text;
|
||||||
@ -90,7 +90,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.BeatSnap
|
|||||||
new Drawable[]
|
new Drawable[]
|
||||||
{
|
{
|
||||||
null,
|
null,
|
||||||
new TextFlowContainer(s => s.TextSize = 12)
|
new TextFlowContainer(s => s.TextSize = 10)
|
||||||
{
|
{
|
||||||
Text = "beat snap divisor",
|
Text = "beat snap divisor",
|
||||||
RelativeSizeAxes = Axes.X,
|
RelativeSizeAxes = Axes.X,
|
||||||
@ -145,6 +145,12 @@ namespace osu.Game.Screens.Edit.Screens.Compose.BeatSnap
|
|||||||
Origin = Anchor.Centre;
|
Origin = Anchor.Centre;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[BackgroundDependencyLoader]
|
||||||
|
private void load(OsuColour colours)
|
||||||
|
{
|
||||||
|
Colour = colours.BlueLighter;
|
||||||
|
}
|
||||||
|
|
||||||
protected override void LoadComplete()
|
protected override void LoadComplete()
|
||||||
{
|
{
|
||||||
base.LoadComplete();
|
base.LoadComplete();
|
||||||
@ -167,7 +173,7 @@ namespace osu.Game.Screens.Edit.Screens.Compose.BeatSnap
|
|||||||
Y = 1;
|
Y = 1;
|
||||||
|
|
||||||
ButtonSize = new Vector2(20);
|
ButtonSize = new Vector2(20);
|
||||||
IconScale = new Vector2(0.7f);
|
IconScale = new Vector2(0.6f);
|
||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
|
Loading…
Reference in New Issue
Block a user