Skip to content

Commit

Permalink
[+] Show play time on PractiseModeUI
Browse files Browse the repository at this point in the history
  • Loading branch information
clansty committed Oct 3, 2024
1 parent 271ef9b commit 9a5743a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AquaMai/Utils/PractiseModeUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ public void OnGUI()
GUI.Label(GetButtonRect(1, 2), $"{Locale.Speed} {PractiseMode.speed * 100:000}%");
GUI.Button(GetButtonRect(2, 2), Locale.SpeedUp);
GUI.Button(GetButtonRect(1, 3), Locale.SpeedReset);

GUI.Label(GetButtonRect(0, 3), TimeSpan.FromMilliseconds(DebugFeature.CurrentPlayMsec).ToString(@"mm\:ss\.fff"));
GUI.Label(GetButtonRect(2, 3), TimeSpan.FromMilliseconds(NotesManager.Instance().getPlayFinalMsec()).ToString(@"mm\:ss\.fff"));
}

public void Update()
Expand Down

0 comments on commit 9a5743a

Please sign in to comment.