change to beginpopupcontextitem

This commit is contained in:
Eknous-P 2023-07-28 20:38:13 +04:00
parent dedcff3ec2
commit 5c5ccbeb72
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ void FurnaceGUI::drawEffectList() {
if (ImGui::Begin("Effect List",&effectListOpen,globalWinFlags)) {
ImGui::Text("Chip at cursor: %s",e->getSystemName(e->sysOfChan[cursor.xCoarse]));
if (ImGui::Button("Sort Effects")) ImGui::OpenPopup("effectSort");
if (ImGui::BeginPopup("effectSort")) {
if (ImGui::BeginPopupContextItem("effectSort")) {
ImGui::Checkbox("Pitch",&effectShowPitch);
ImGui::Checkbox("Song",&effectShowSong);
ImGui::Checkbox("Time",&effectShowTime);