diff --git a/src/gui/dataList.cpp b/src/gui/dataList.cpp index 22c080c1b..de5f3515d 100644 --- a/src/gui/dataList.cpp +++ b/src/gui/dataList.cpp @@ -173,7 +173,7 @@ void FurnaceGUI::waveListItem(int i, float* wavePreview, int dir, int asset) { } if (wave->len>0) wavePreview[wave->len]=wave->data[wave->len-1]; ImGui::PushStyleVar(ImGuiStyleVar_SelectableTextAlign, ImVec2(0,0.5f)); - if (ImGui::Selectable(fmt::sprintf(" %d##_WAVE%d\n",i,i).c_str(),curWave==i, 0, ImVec2(0,23*dpiScale))) {//i didnt think that the 0 would work, but it does + if (ImGui::Selectable(fmt::sprintf(" %d##_WAVE%d\n",i,i).c_str(),curWave==i,0,ImVec2(0,23*dpiScale))) { // i didnt think that the 0 would work, but it does curWave=i; lastAssetType=1; }