formatting

This commit is contained in:
Eknous 2023-08-28 10:00:32 +04:00 committed by GitHub
parent 4078da6685
commit 06f2595861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}