mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
Set text at updateTime
This commit is contained in:
parent
d122547c1e
commit
38feb7651c
@ -58,9 +58,9 @@ namespace osu.Game.Graphics
|
|||||||
|
|
||||||
public override bool HandleMouseInput => true;
|
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}");
|
public virtual string TooltipText => string.Format($"{date:MMMM d, yyyy h:mm tt \"UTC\"z}");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user