Skip to content

Commit ec6380a

Browse files
author
Hosam Tageldin
committed
Small changes
1 parent 1aae673 commit ec6380a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

specs/ContextMenuRequested.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ The developer can use the data provided in the Event arguments to display a cust
122122
POINT locationInScreenCoordinates;
123123
CHECK_FAILURE(parameters->get_Location(&locationInControlCoordinates));
124124
// get_Location returns coordinates in relation to upper left Bounds of the WebView2.Controller. Will need to convert to Screen coordinates to display the popup menu in the correct location.
125-
ConvertToScreenCoordinates(locationInControlCoordinates, &locationInScreenCoordinates);
125+
ConvertToScreenCoordinates(locationInControlCoordinates, locationInScreenCoordinates);
126126
UINT32 selectedCommandId = TrackPopupMenu(hPopupMenu, TPM_TOPALIGN | TPM_LEFTALIGN | TPM_RETURNCMD, locationInScreenCoordinates.x, locationInScreenCoordinates.y, 0, hWnd, NULL);
127127
CHECK_FAILURE(args->put_SelectedCommandId(selectedCommandId));
128128
};
@@ -514,7 +514,7 @@ The developer can use the data provided in the Event arguments to display a cust
514514
/// For more information regarding paramters, see `ContextMenuItem`.
515515
HRESULT CreateContextMenuItem(
516516
[in] LPCWSTR label,
517-
[in] LPCWSTR shorctutKeyDescription,
517+
[in] LPCWSTR shortcutKeyDescription,
518518
[in] IStream* iconStream,
519519
[in] COREWEBVIEW2_CONTEXT_MENU_ITEM_KIND kind,
520520
[in] BOOL isEnabled,

0 commit comments

Comments
 (0)