Part 2
This commit is contained in:
		
							parent
							
								
									81e53f39f0
								
							
						
					
					
						commit
						02c316f9d1
					
				| 
						 | 
					@ -292,15 +292,10 @@ void FurnaceGUI::insListItem(int i, int dir, int asset) {
 | 
				
			||||||
    wavePreviewInit=true;
 | 
					    wavePreviewInit=true;
 | 
				
			||||||
    updateFMPreview=true;
 | 
					    updateFMPreview=true;
 | 
				
			||||||
    lastAssetType=0;
 | 
					    lastAssetType=0;
 | 
				
			||||||
 | 
					    if (settings.insFocusesPattern && patternOpen)
 | 
				
			||||||
 | 
					      nextWindow=GUI_WINDOW_PATTERN;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  if (wantScrollList && curIns==i) ImGui::SetScrollHereY();
 | 
					  if (wantScrollList && curIns==i) ImGui::SetScrollHereY();
 | 
				
			||||||
  if (settings.insFocusesPattern && patternOpen && ImGui::IsItemActivated()) {
 | 
					 | 
				
			||||||
    nextWindow=GUI_WINDOW_PATTERN;
 | 
					 | 
				
			||||||
    curIns=i;
 | 
					 | 
				
			||||||
    wavePreviewInit=true;
 | 
					 | 
				
			||||||
    updateFMPreview=true;
 | 
					 | 
				
			||||||
    lastAssetType=0;
 | 
					 | 
				
			||||||
  }
 | 
					 | 
				
			||||||
  if (ImGui::IsItemHovered() && i>=0 && !mobileUI) {
 | 
					  if (ImGui::IsItemHovered() && i>=0 && !mobileUI) {
 | 
				
			||||||
    ImGui::PushStyleColor(ImGuiCol_Text,uiColors[GUI_COLOR_TEXT]);
 | 
					    ImGui::PushStyleColor(ImGuiCol_Text,uiColors[GUI_COLOR_TEXT]);
 | 
				
			||||||
    ImGui::SetTooltip("%s",insType);
 | 
					    ImGui::SetTooltip("%s",insType);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue