mirror of
https://github.com/ppy/osu.git
synced 2026-05-30 07:19:54 +08:00
Set text at updateTime
This commit is contained in:
@@ -58,9 +58,9 @@ namespace osu.Game.Graphics
|
||||
|
||||
public override bool HandleMouseInput => true;
|
||||
|
||||
protected virtual string Format() => Text = date.Humanize();
|
||||
protected virtual string Format() => date.Humanize();
|
||||
|
||||
private void updateTime() => Format();
|
||||
private void updateTime() => Text = Format();
|
||||
|
||||
public virtual string TooltipText => string.Format($"{date:MMMM d, yyyy h:mm tt \"UTC\"z}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user