GUI: add option for playback status in menu bar

This commit is contained in:
tildearrow 2024-02-11 18:54:45 -05:00
parent 2f72e75f0e
commit a05b133b3a
3 changed files with 12 additions and 1 deletions

View file

@ -4428,7 +4428,7 @@ bool FurnaceGUI::loop() {
ImGui::EndMenu();
}
ImGui::PushStyleColor(ImGuiCol_Text,uiColors[GUI_COLOR_PLAYBACK_STAT]);
if (e->isPlaying()) {
if (e->isPlaying() && settings.playbackTime) {
int totalTicks=e->getTotalTicks();
int totalSeconds=e->getTotalSeconds();