mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 14:33:01 +00:00
command palette: instrument number should be in hex
This commit is contained in:
parent
477b331c0e
commit
f08ef30cc3
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ void FurnaceGUI::drawPalette() {
|
|||
paletteSearchResults.push_back(0);
|
||||
}
|
||||
for (int i=0; i<e->song.insLen; i++) {
|
||||
String s=fmt::sprintf("%02d: %s", i, e->song.ins[i]->name.c_str());
|
||||
String s=fmt::sprintf("%02x: %s", i, e->song.ins[i]->name.c_str());
|
||||
if (matchFuzzy(s.c_str(),paletteQuery.c_str())) {
|
||||
paletteSearchResults.push_back(i+1); // because over here ins=0 is 'None'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue