wave synth work
now there is a preview
This commit is contained in:
parent
61916be495
commit
367d14357c
7 changed files with 109 additions and 13 deletions
|
|
@ -248,11 +248,13 @@ void FurnaceGUI::drawInsList() {
|
|||
}
|
||||
if (ImGui::Selectable(name.c_str(),(i==-1)?(curIns<0 || curIns>=e->song.insLen):(curIns==i))) {
|
||||
curIns=i;
|
||||
wavePreviewInit=true;
|
||||
}
|
||||
if (wantScrollList && curIns==i) ImGui::SetScrollHereY();
|
||||
if (settings.insFocusesPattern && patternOpen && ImGui::IsItemActivated()) {
|
||||
nextWindow=GUI_WINDOW_PATTERN;
|
||||
curIns=i;
|
||||
wavePreviewInit=true;
|
||||
}
|
||||
ImGui::PopStyleColor();
|
||||
if (ImGui::IsItemHovered() && i>=0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue