newline option attempt 2

hopefully the freakin submodule wont get in
This commit is contained in:
Eknous-P 2024-01-17 20:19:44 +04:00 committed by tildearrow
parent 1f3f04cc8a
commit 7c9df02b2c
2 changed files with 6 additions and 0 deletions

View file

@ -348,6 +348,7 @@ void FurnaceGUI::drawChanOsc() {
"- %v: volume (decimal)\n"
"- %V: volume (percentage)\n"
"- %b: volume (hex)\n"
"- %l: new line\n"
"- %%: percent sign"
);
ImGui::EndTooltip();
@ -751,6 +752,10 @@ void FurnaceGUI::drawChanOsc() {
text+=fmt::sprintf("%s",noteName(noteMod,oct));
break;
}
case 'l': {
text+="\n";
break;
}
case '%':
text+='%';
break;