mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-22 01:12:19 -05:00
Modify arrow buttons in Audio Shuffle Pool Manager to be FA times and plus instead of the ImguiArrow to make the difference between "Exclude" and "Play Preview" clearer. (#3226)
This commit is contained in:
parent
6e50d7110a
commit
ebfd14974f
@ -542,7 +542,7 @@ void AudioEditor::DrawElement() {
|
||||
ImGui::BeginChild("ChildIncludedSequences", ImVec2(0, -8));
|
||||
for (auto seqInfo : AudioCollection::Instance->GetIncludedSequences()) {
|
||||
if (sequenceSearch.PassFilter(seqInfo->label.c_str()) && showType[seqInfo->category]) {
|
||||
if (ImGui::ArrowButton(seqInfo->sfxKey.c_str(), ImGuiDir_Right)) {
|
||||
if (ImGui::Button(std::string(ICON_FA_TIMES "##" + seqInfo->sfxKey).c_str())) {
|
||||
seqsToExclude.insert(seqInfo);
|
||||
}
|
||||
ImGui::SameLine();
|
||||
@ -566,7 +566,7 @@ void AudioEditor::DrawElement() {
|
||||
ImGui::BeginChild("ChildExcludedSequences", ImVec2(0, -8));
|
||||
for (auto seqInfo : AudioCollection::Instance->GetExcludedSequences()) {
|
||||
if (sequenceSearch.PassFilter(seqInfo->label.c_str()) && showType[seqInfo->category]) {
|
||||
if (ImGui::ArrowButton(seqInfo->sfxKey.c_str(), ImGuiDir_Left)) {
|
||||
if (ImGui::Button(std::string(ICON_FA_PLUS "##" + seqInfo->sfxKey).c_str())) {
|
||||
seqsToInclude.insert(seqInfo);
|
||||
}
|
||||
ImGui::SameLine();
|
||||
|
Loading…
Reference in New Issue
Block a user