Skip to content

Commit

Permalink
Merge pull request #19 from probe-rs/scroll
Browse files Browse the repository at this point in the history
FIx context menu location
  • Loading branch information
bugadani authored Feb 19, 2024
2 parents 83aeb84 + 8e2dc29 commit f3fd1f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pill.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pub fn pill(props: &PillProps) -> Html {
event.prevent_default();
event.set_cancel_bubble(true);
context_menu.dispatch(ContextMenuAction::Show(
event.client_x(),
event.client_y(),
event.page_x(),
event.page_y(),
items.clone(),
))
}
Expand Down

0 comments on commit f3fd1f9

Please sign in to comment.