revert icon changes

This commit is contained in:
Eknous-P 2023-08-27 10:18:39 +04:00
parent fdd9b598a7
commit 4eda4aeb39
5 changed files with 7 additions and 7 deletions

View File

@ -504,7 +504,7 @@ void FurnaceGUI::drawInsList(bool asChild) {
} }
ImGui::SameLine(); ImGui::SameLine();
pushDestColor(); pushDestColor();
if (ImGui::Button(ICON_FA_MINUS "##InsDelete")) { if (ImGui::Button(ICON_FA_TIMES "##InsDelete")) {
if (settings.unifiedDataView) { if (settings.unifiedDataView) {
switch (lastAssetType) { switch (lastAssetType) {
case 0: case 0:
@ -749,7 +749,7 @@ void FurnaceGUI::drawWaveList(bool asChild) {
} }
ImGui::SameLine(); ImGui::SameLine();
pushDestColor(); pushDestColor();
if (ImGui::Button(ICON_FA_MINUS "##WaveDelete")) { if (ImGui::Button(ICON_FA_TIMES "##WaveDelete")) {
doAction(GUI_ACTION_WAVE_LIST_DELETE); doAction(GUI_ACTION_WAVE_LIST_DELETE);
} }
popDestColor(); popDestColor();
@ -901,7 +901,7 @@ void FurnaceGUI::drawSampleList(bool asChild) {
} }
ImGui::SameLine(); ImGui::SameLine();
pushDestColor(); pushDestColor();
if (ImGui::Button(ICON_FA_MINUS "##SampleDelete")) { if (ImGui::Button(ICON_FA_TIMES "##SampleDelete")) {
doAction(GUI_ACTION_SAMPLE_LIST_DELETE); doAction(GUI_ACTION_SAMPLE_LIST_DELETE);
} }
popDestColor(); popDestColor();

View File

@ -812,7 +812,7 @@ void FurnaceGUI::drawFindReplace() {
ImGui::TableNextRow(); ImGui::TableNextRow();
ImGui::TableNextColumn(); ImGui::TableNextColumn();
pushDestColor(); pushDestColor();
if (ImGui::Button(ICON_FA_TRASH "##DelQuery")) { if (ImGui::Button(ICON_FA_MINUS "##DelQuery")) {
eraseIndex=index; eraseIndex=index;
} }
popDestColor(); popDestColor();

View File

@ -123,7 +123,7 @@ void FurnaceGUI::drawGrooves() {
ImGui::TableNextColumn(); ImGui::TableNextColumn();
pushDestColor(); pushDestColor();
String grooveID=fmt::sprintf(ICON_FA_MINUS "##GRR%d",index); String grooveID=fmt::sprintf(ICON_FA_TIMES "##GRR%d",index);
if (ImGui::Button(grooveID.c_str())) { if (ImGui::Button(grooveID.c_str())) {
delGroove=index; delGroove=index;
} }

View File

@ -4334,7 +4334,7 @@ void FurnaceGUI::drawInsEdit() {
} }
ImGui::SameLine(); ImGui::SameLine();
pushDestColor(); pushDestColor();
if (ImGui::Button(ICON_FA_MINUS "##HWCmdDel")) { if (ImGui::Button(ICON_FA_TIMES "##HWCmdDel")) {
for (int j=i; j<ins->gb.hwSeqLen-1; j++) { for (int j=i; j<ins->gb.hwSeqLen-1; j++) {
ins->gb.hwSeq[j].cmd=ins->gb.hwSeq[j+1].cmd; ins->gb.hwSeq[j].cmd=ins->gb.hwSeq[j+1].cmd;
ins->gb.hwSeq[j].data=ins->gb.hwSeq[j+1].data; ins->gb.hwSeq[j].data=ins->gb.hwSeq[j+1].data;

View File

@ -103,7 +103,7 @@ void FurnaceGUI::drawSysManager() {
ImGui::SameLine(); ImGui::SameLine();
ImGui::BeginDisabled(e->song.systemLen<=1); ImGui::BeginDisabled(e->song.systemLen<=1);
pushDestColor(); pushDestColor();
if (ImGui::Button(ICON_FA_MINUS "##SysRemove")) { if (ImGui::Button(ICON_FA_TIMES "##SysRemove")) {
sysToDelete=i; sysToDelete=i;
showWarning("Are you sure you want to remove this chip?",GUI_WARN_SYSTEM_DEL); showWarning("Are you sure you want to remove this chip?",GUI_WARN_SYSTEM_DEL);
} }