summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Longstaff <JordanLongstaff@users.noreply.github.com>2025-07-23 23:48:01 -0400
committerGitHub <noreply@github.com>2025-07-23 20:48:01 -0700
commitccf3d4b6a0e6a4e2276da6336fea86b30c32428a (patch)
tree2a6a13b71ca4eb326e85fdc5db0a070a08483fda
parentd06cf6bf1032037d67b46bad37b8320bec9643d6 (diff)
Add playing icon to improve Audio Editor indicator (#5686)
-rw-r--r--soh/soh/Enhancements/audio/AudioEditor.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/soh/soh/Enhancements/audio/AudioEditor.cpp b/soh/soh/Enhancements/audio/AudioEditor.cpp
index 4cf1f389d..6660bee7d 100644
--- a/soh/soh/Enhancements/audio/AudioEditor.cpp
+++ b/soh/soh/Enhancements/audio/AudioEditor.cpp
@@ -298,9 +298,12 @@ void Draw_SfxTab(const std::string& tabId, SeqType type, const std::string& tabN
ImGui::TableNextRow();
ImGui::TableNextColumn();
- ImGui::TextColored(
- UIWidgets::ColorValues.at(isCurrentlyPlaying ? UIWidgets::Colors::Yellow : UIWidgets::Colors::White), "%s",
- seqData.label.c_str());
+ if (isCurrentlyPlaying) {
+ ImGui::TextColored(UIWidgets::ColorValues.at(UIWidgets::Colors::Yellow), "%s %s", ICON_FA_PLAY,
+ seqData.label.c_str());
+ } else {
+ ImGui::Text("%s", seqData.label.c_str());
+ }
ImGui::TableNextColumn();
ImGui::PushItemWidth(-FLT_MIN);
const int initialValue = map.contains(currentValue) ? currentValue : defaultValue;