提交 b16b467d 编写于 作者: R Rob Lourens

Clean up for #101326

上级 43a10264
...@@ -666,9 +666,7 @@ export class CellDragAndDropController extends Disposable { ...@@ -666,9 +666,7 @@ export class CellDragAndDropController extends Disposable {
} }
private async moveCell(draggedCell: ICellViewModel, ontoCell: ICellViewModel, direction: 'above' | 'below') { private async moveCell(draggedCell: ICellViewModel, ontoCell: ICellViewModel, direction: 'above' | 'below') {
const editState = draggedCell.editState;
await this.notebookEditor.moveCell(draggedCell, ontoCell, direction); await this.notebookEditor.moveCell(draggedCell, ontoCell, direction);
this.notebookEditor.focusNotebookCell(draggedCell, editState === CellEditState.Editing ? 'editor' : 'container');
} }
private copyCell(draggedCell: ICellViewModel, ontoCell: ICellViewModel, direction: 'above' | 'below') { private copyCell(draggedCell: ICellViewModel, ontoCell: ICellViewModel, direction: 'above' | 'below') {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册