mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 22:43:01 +00:00
Fix pattern editor focus when selecting instrument
This commit is contained in:
parent
2abdb17490
commit
81e53f39f0
1 changed files with 1 additions and 2 deletions
|
@ -292,11 +292,10 @@ void FurnaceGUI::insListItem(int i, int dir, int asset) {
|
|||
wavePreviewInit=true;
|
||||
updateFMPreview=true;
|
||||
lastAssetType=0;
|
||||
if (insListDir) nextWindow=GUI_WINDOW_PATTERN;
|
||||
}
|
||||
if (wantScrollList && curIns==i) ImGui::SetScrollHereY();
|
||||
if (settings.insFocusesPattern && patternOpen && ImGui::IsItemActivated()) {
|
||||
if (!insListDir) nextWindow=GUI_WINDOW_PATTERN;
|
||||
nextWindow=GUI_WINDOW_PATTERN;
|
||||
curIns=i;
|
||||
wavePreviewInit=true;
|
||||
updateFMPreview=true;
|
||||
|
|
Loading…
Reference in a new issue