From bc7e267a85fff685dd55a155b72a0ab2ac5440e9 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sat, 29 Jul 2023 13:22:05 -0500 Subject: [PATCH] GUI: BeginPopupContextItem fix --- src/gui/effectList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/effectList.cpp b/src/gui/effectList.cpp index 6b0ee23f3..2d1bd1f1e 100644 --- a/src/gui/effectList.cpp +++ b/src/gui/effectList.cpp @@ -20,7 +20,7 @@ void FurnaceGUI::drawEffectList() { ImGui::SameLine(); } ImGui::Button(ICON_FA_BARS "##SortEffects"); - if (ImGui::BeginPopupContextItem("effectSort")) { + if (ImGui::BeginPopupContextItem("effectSort",ImGuiPopupFlags_MouseButtonLeft)) { for (int i=0; i<9; i++) { ImGui::PushStyleColor(ImGuiCol_Text,uiColors[fxColorsSort[i]]); ImGui::Checkbox(fxColorsNames[i],&effectsShow[i]);