You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -117,11 +117,11 @@ A `string` (optional) indicating the item's role, if set. Can be `undo`, `redo`,
117
117
118
118
#### `menuItem.accelerator`
119
119
120
-
An `Accelerator | null` indicating the item's accelerator, if set.
120
+
An [`Accelerator | null`](../tutorial/keyboard-shortcuts.md#accelerators) indicating the item's accelerator, if set.
121
121
122
122
#### `menuItem.userAccelerator`_Readonly__macOS_
123
123
124
-
An `Accelerator | null` indicating the item's [user-assigned accelerator](https://developer.apple.com/documentation/appkit/nsmenuitem/1514850-userkeyequivalent?language=objc) for the menu item.
124
+
An [`Accelerator | null`](../tutorial/keyboard-shortcuts.md#accelerators) indicating the item's [user-assigned accelerator](https://developer.apple.com/documentation/appkit/nsmenuitem/1514850-userkeyequivalent?language=objc) for the menu item.
125
125
126
126
> [!NOTE]
127
127
> This property is only initialized after the `MenuItem` has been added to a `Menu`. Either via `Menu.buildFromTemplate` or via `Menu.append()/insert()`. Accessing before initialization will just return `null`.
@@ -177,7 +177,7 @@ This property can be dynamically changed.
177
177
178
178
#### `menuItem.sharingItem`_macOS_
179
179
180
-
A `SharingItem` indicating the item to share when the `role` is `shareMenu`.
180
+
A [`SharingItem`](structures/sharing-item.md) indicating the item to share when the `role` is `shareMenu`.
Note that `git-import-patches` will mark the commit that was `HEAD` when it was run as `refs/patches/upstream-head`. This lets you keep track of which commits are from Electron patches (those that come after `refs/patches/upstream-head`) and which commits are in upstream (those before `refs/patches/upstream-head`).
89
+
Note that `git-import-patches` will mark the commit that was `HEAD` when it was run as `refs/patches/upstream-head` (and a checkout-specific `refs/patches/upstream-head-<hash>` so that gclient worktrees sharing a `.git/refs` directory don't clobber each other). This lets you keep track of which commits are from Electron patches (those that come after `refs/patches/upstream-head`) and which commits are in upstream (those before `refs/patches/upstream-head`).
0 commit comments