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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user