GUI: fx rgtclk if cntr pat opt & RC n left win gap

This commit is contained in:
tildearrow 2022-10-07 18:14:25 -05:00
parent 80f8ccf627
commit 55c97c9529
1 changed files with 1 additions and 1 deletions

View File

@ -1210,7 +1210,7 @@ void FurnaceGUI::drawPattern() {
}
ImGui::PopStyleVar();
if (patternOpen) {
if (!inhibitMenu && ImGui::IsItemClicked(ImGuiMouseButton_Right)) ImGui::OpenPopup("patternActionMenu");
if (!inhibitMenu && ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows) && ImGui::IsMouseClicked(ImGuiMouseButton_Right)) ImGui::OpenPopup("patternActionMenu");
if (ImGui::BeginPopup("patternActionMenu",ImGuiWindowFlags_NoMove|ImGuiWindowFlags_AlwaysAutoResize|ImGuiWindowFlags_NoTitleBar|ImGuiWindowFlags_NoSavedSettings)) {
editOptions(false);
ImGui::EndPopup();