mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-30 08:23:01 +00:00
GUI: BeginPopupContextItem fix
This commit is contained in:
parent
b83d8f3198
commit
bc7e267a85
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ void FurnaceGUI::drawEffectList() {
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
}
|
}
|
||||||
ImGui::Button(ICON_FA_BARS "##SortEffects");
|
ImGui::Button(ICON_FA_BARS "##SortEffects");
|
||||||
if (ImGui::BeginPopupContextItem("effectSort")) {
|
if (ImGui::BeginPopupContextItem("effectSort",ImGuiPopupFlags_MouseButtonLeft)) {
|
||||||
for (int i=0; i<9; i++) {
|
for (int i=0; i<9; i++) {
|
||||||
ImGui::PushStyleColor(ImGuiCol_Text,uiColors[fxColorsSort[i]]);
|
ImGui::PushStyleColor(ImGuiCol_Text,uiColors[fxColorsSort[i]]);
|
||||||
ImGui::Checkbox(fxColorsNames[i],&effectsShow[i]);
|
ImGui::Checkbox(fxColorsNames[i],&effectsShow[i]);
|
||||||
|
|
Loading…
Reference in a new issue