Set text at updateTime

This commit is contained in:
HoutarouOreki 2018-06-15 14:34:01 +02:00
parent d122547c1e
commit 38feb7651c

View File

@ -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}");
}