Skip to content

Commit

Permalink
Even better fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AufarZakiev committed Jan 27, 2024
1 parent cf84309 commit 5da3e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ impl Response {
///
/// See also: [`Ui::menu_button`] and [`Ui::close_menu`].
pub fn context_menu(&self, add_contents: impl FnOnce(&mut Ui)) -> Option<InnerResponse<()>> {
menu::context_menu(&self, add_contents)
menu::context_menu(self, add_contents)
}
}

Expand Down

0 comments on commit 5da3e88

Please sign in to comment.