Skip to content

Commit

Permalink
Update core/tauri/src/menu/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Fernandes Nogueira <[email protected]>
  • Loading branch information
amrbashir and lucasfernog committed Aug 8, 2023
1 parent 1bdd397 commit 235f34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tauri/src/menu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ pub trait IsMenuItem<R: Runtime>: sealed::IsMenuItemBase {
///
/// This trait is ONLY meant to be implemented internally by the crate.
pub trait ContextMenu: sealed::ContextMenuBase + Send + Sync {
/// Popup this menu as a context menu on the specified window at the specified position.
/// Popup this menu as a context menu on the specified window at the cursor position.
fn popup<R: crate::Runtime>(&self, window: crate::Window<R>) -> crate::Result<()>;

/// Popup this menu as a context menu on the specified window at the specified position.
Expand Down

0 comments on commit 235f34c

Please sign in to comment.