mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
More styling.
This commit is contained in:
@ -102,6 +102,7 @@ namespace osu.Desktop.Tests
|
||||
ac.Count = 0;
|
||||
cc.Count = 0;
|
||||
pc.SetCount(0, 0);
|
||||
tc.Count = 0;
|
||||
});
|
||||
|
||||
AddButton(@"Hit! :D", delegate
|
||||
|
@ -33,7 +33,6 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
public override void Load()
|
||||
{
|
||||
|
||||
base.Load();
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
@ -16,6 +16,12 @@ namespace osu.Game.Graphics.UserInterface
|
||||
/// </summary>
|
||||
public uint LeadingZeroes = 0;
|
||||
|
||||
public override void Load()
|
||||
{
|
||||
base.Load();
|
||||
countSpriteText.FixedWidth = true;
|
||||
}
|
||||
|
||||
protected override string formatCount(ulong count)
|
||||
{
|
||||
return count.ToString("D" + LeadingZeroes);
|
||||
|
@ -33,12 +33,13 @@ namespace osu.Game.Graphics.UserInterface
|
||||
|
||||
public int StarSize = 20;
|
||||
|
||||
public int StarSpacing = 2;
|
||||
public int StarSpacing = 4;
|
||||
|
||||
public StarCounter() : base()
|
||||
{
|
||||
IsRollingProportional = true;
|
||||
RollingDuration = 100;
|
||||
RollingDuration = 150;
|
||||
RollingEasing = EasingTypes.Out;
|
||||
}
|
||||
|
||||
protected override ulong getProportionalDuration(float currentValue, float newValue)
|
||||
|
Reference in New Issue
Block a user