mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 12:42:54 +08:00
Small format
This commit is contained in:
parent
1b32370c6a
commit
7b1e8ede54
@ -402,8 +402,8 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
|||||||
for (int tickIndex = 0; tickIndex <= largestDivisor; tickIndex++)
|
for (int tickIndex = 0; tickIndex <= largestDivisor; tickIndex++)
|
||||||
{
|
{
|
||||||
int divisor = BindableBeatDivisor.GetDivisorForBeatIndex(tickIndex, largestDivisor, (int[])beatDivisor.ValidDivisors.Value.Presets);
|
int divisor = BindableBeatDivisor.GetDivisorForBeatIndex(tickIndex, largestDivisor, (int[])beatDivisor.ValidDivisors.Value.Presets);
|
||||||
|
|
||||||
bool isSolidTick = divisor * (largestDivisor - tickIndex) == largestDivisor;
|
bool isSolidTick = divisor * (largestDivisor - tickIndex) == largestDivisor;
|
||||||
|
|
||||||
AddInternal(new Tick(isSolidTick, divisor)
|
AddInternal(new Tick(isSolidTick, divisor)
|
||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
|
Loading…
Reference in New Issue
Block a user