Skip to content

Commit

Permalink
correcting comment:
Browse files Browse the repository at this point in the history
  • Loading branch information
swordensen committed Apr 5, 2024
1 parent 78ed36c commit 696facb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/webview/browser/webviewElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ export class WebviewElement extends Disposable implements IWebview, WebviewFindD
}

private handleDragEvent(type: 'drag', event: DragEvent) {
// Create a fake KeyboardEvent from the data provided
// Create a fake DragEvent from the data provided
const emulatedDragEvent = new DragEvent(type, event);
// Force override the target
Object.defineProperty(emulatedDragEvent, 'target', {
Expand Down

0 comments on commit 696facb

Please sign in to comment.