ui: Remove early return after painting existing menu (#43631)

Release Notes:

- Fixed right-click context menu UX issues

Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
This commit is contained in:
Xiaobo Liu
2025-11-27 16:19:54 -03:00
committed by GitHub
parent 64633bade4
commit d97d4f3949
@@ -223,7 +223,6 @@ impl<M: ManagedView> Element for RightClickMenu<M> {
if let Some(mut menu) = request_layout.menu_element.take() {
menu.paint(window, cx);
return;
}
let Some(builder) = this.menu_builder.take() else {