mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 10:12:54 +08:00
Code styling
This commit is contained in:
parent
7b1e8ede54
commit
c5ef3ae181
@ -425,7 +425,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
foreach (Tick child in InternalChildren.OfType<Tick>())
|
||||
{
|
||||
float newAlpha = child.Solid ? 1f : divisor.NewValue % child.Divisor == 0 ? 0.2f : 0f;
|
||||
float newAlpha = child.IsSolid ? 1f : divisor.NewValue % child.Divisor == 0 ? 0.2f : 0f;
|
||||
child.FadeTo(newAlpha);
|
||||
}
|
||||
}
|
||||
@ -497,11 +497,11 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
|
||||
private partial class Tick : Circle
|
||||
{
|
||||
public bool Solid;
|
||||
public bool IsSolid;
|
||||
public int Divisor;
|
||||
public Tick(bool solid, int divisor)
|
||||
public Tick(bool isSolid, int divisor)
|
||||
{
|
||||
Solid = solid;
|
||||
IsSolid = isSolid;
|
||||
Divisor = divisor;
|
||||
Size = new Vector2(6f, 12) * BindableBeatDivisor.GetSize(divisor);
|
||||
InternalChild = new Box { RelativeSizeAxes = Axes.Both };
|
||||
|
Loading…
Reference in New Issue
Block a user