Skip to content

Commit

Permalink
removed unnecessary popup menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ypujante committed Feb 19, 2023
1 parent b3839f2 commit ddabd1f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/cpp/re/edit/Widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
// }
}

//------------------------------------------------------------------------
Expand Down

0 comments on commit ddabd1f

Please sign in to comment.