From ddabd1f4343d1438129e8043bb082dd7c18d0204 Mon Sep 17 00:00:00 2001 From: Yan Pujante Date: Sun, 19 Feb 2023 10:28:10 -0800 Subject: [PATCH] removed unnecessary popup menu --- src/cpp/re/edit/Widget.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/cpp/re/edit/Widget.cpp b/src/cpp/re/edit/Widget.cpp index f1a543f..e164542 100644 --- a/src/cpp/re/edit/Widget.cpp +++ b/src/cpp/re/edit/Widget.cpp @@ -1125,11 +1125,12 @@ void Widget::renderVisibilityToggle(AppContext &iCtx) if(ReGui::VisibilityButton(isHidden(), isSelected())) toggleVisibility(); - if(ImGui::BeginPopupContextItem()) - { - renderVisibilityMenu(iCtx); - ImGui::EndPopup(); - } + // no point at the moment... +// if(ImGui::BeginPopupContextItem()) +// { +// renderVisibilityMenu(iCtx); +// ImGui::EndPopup(); +// } } //------------------------------------------------------------------------