mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Dragging a folding marker results in The cursor must be within a commenting range to add a comment. (#240985)
Fixes #240306
This commit is contained in:
@@ -1084,7 +1084,7 @@ export class CommentController implements IEditorContribution {
|
||||
}
|
||||
|
||||
private onEditorMouseDown(e: IEditorMouseEvent): void {
|
||||
this.mouseDownInfo = parseMouseDownInfoFromEvent(e);
|
||||
this.mouseDownInfo = this._activeEditorHasCommentingRange.get() ? parseMouseDownInfoFromEvent(e) : null;
|
||||
}
|
||||
|
||||
private onEditorMouseUp(e: IEditorMouseEvent): void {
|
||||
|
||||
Reference in New Issue
Block a user