Skip to content

Commit

Permalink
More renaming!
Browse files Browse the repository at this point in the history
  • Loading branch information
Copons committed May 21, 2021
1 parent bfeeed1 commit 13528cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/getting-started/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ This is the canonical list of keyboard shortcuts:
<td><kbd>⇧</kbd><kbd>⌘</kbd><kbd>,</kbd></td>
</tr>
<tr>
<td>Open the block navigation menu.</td>
<td>Open the list view menu.</td>
<td><kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>O</kbd></td>
<td><kbd>⌃</kbd><kbd>⌥</kbd><kbd>O</kbd></td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const ALLOWED_DROP_EDGES = [ 'top', 'bottom' ];
/**
* Given blocks data and the cursor position, compute the drop target.
*
* @param {WPListViewDropZoneBlocks} blocksData Data about the blocks in block navigation.
* @param {WPListViewDropZoneBlocks} blocksData Data about the blocks in list view.
* @param {WPPoint} position The point representing the cursor position when dragging.
*
* @return {WPListViewDropZoneTarget} An object containing data about the drop target.
Expand Down Expand Up @@ -143,7 +143,7 @@ function getListViewDropTarget( blocksData, position ) {
// as the user would intend to drop either before or after
// this block.
//
// This solves an issue where some rows in the block navigation
// This solves an issue where some rows in the list view
// tree overlap slightly due to sub-pixel rendering.
if ( isCursorWithinBlock ) {
break;
Expand Down Expand Up @@ -190,7 +190,7 @@ function getListViewDropTarget( blocksData, position ) {
}

/**
* A react hook for implementing a drop zone in block navigation.
* A react hook for implementing a drop zone in list view.
*
* @return {WPListViewDropZoneTarget} The drop target.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
}

// Hide table of contents and block navigation on mobile.
// Hide table of contents and list view on mobile.
.block-editor-list-view {
display: none;

Expand Down

0 comments on commit 13528cd

Please sign in to comment.