Skip to content

Commit

Permalink
GUI: spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
tildearrow committed Oct 14, 2023
1 parent a854816 commit 972dc85
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/gui/insEdit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2496,9 +2496,9 @@ void FurnaceGUI::insTabSample(DivInstrument* ins) {
ImGui::AlignTextToFramePadding();
ImGui::SetNextItemWidth(ImGui::CalcTextSize("0000").x);
if (sampleMap.dpcmFreq<0) {
sName=fmt::sprintf("--##SD1%d",i);
sName=fmt::sprintf(" -- ##SD1%d",i);
} else {
sName=fmt::sprintf("%2d##SD1%d",sampleMap.dpcmFreq,i);
sName=fmt::sprintf(" %2d ##SD1%d",sampleMap.dpcmFreq,i);
}
ImGui::Selectable(sName.c_str(),(sampleMapWaitingInput && sampleMapColumn==2 && i>=sampleMapMin && i<=sampleMapMax));

Expand Down Expand Up @@ -2550,9 +2550,9 @@ void FurnaceGUI::insTabSample(DivInstrument* ins) {
ImGui::AlignTextToFramePadding();
ImGui::SetNextItemWidth(ImGui::CalcTextSize("0000").x);
if (sampleMap.dpcmDelta<0) {
sName=fmt::sprintf("--##SD2%d",i);
sName=fmt::sprintf(" -- ##SD2%d",i);
} else {
sName=fmt::sprintf("%2X##SD2%d",sampleMap.dpcmDelta,i);
sName=fmt::sprintf(" %2X ##SD2%d",sampleMap.dpcmDelta,i);
}
ImGui::Selectable(sName.c_str(),(sampleMapWaitingInput && sampleMapColumn==3 && i>=sampleMapMin && i<=sampleMapMax));

Expand Down

0 comments on commit 972dc85

Please sign in to comment.