mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
Part 2
This commit is contained in:
parent
81e53f39f0
commit
02c316f9d1
1 changed files with 2 additions and 7 deletions
|
@ -292,15 +292,10 @@ void FurnaceGUI::insListItem(int i, int dir, int asset) {
|
|||
wavePreviewInit=true;
|
||||
updateFMPreview=true;
|
||||
lastAssetType=0;
|
||||
if (settings.insFocusesPattern && patternOpen)
|
||||
nextWindow=GUI_WINDOW_PATTERN;
|
||||
}
|
||||
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) {
|
||||
ImGui::PushStyleColor(ImGuiCol_Text,uiColors[GUI_COLOR_TEXT]);
|
||||
ImGui::SetTooltip("%s",insType);
|
||||
|
|
Loading…
Reference in a new issue