Skip to content

Commit

Permalink
Revert "adding new event types"
Browse files Browse the repository at this point in the history
This reverts commit 7b96d0e.
  • Loading branch information
swordensen committed Apr 6, 2024
1 parent 8520787 commit 67f1aaa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/vs/workbench/contrib/webview/browser/webviewMessages.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ type KeyEvent = {
repeat: boolean;
}

type DragEvent = {
shiftKey: boolean;
}

export type FromWebviewMessage = {
'onmessage': { message: any; transfer?: ArrayBuffer[] };
'did-click-link': { uri: string };
Expand All @@ -40,7 +36,6 @@ export type FromWebviewMessage = {
'did-keyup': KeyEvent;
'did-context-menu': { clientX: number; clientY: number; context: { [key: string]: unknown } };
'drag-start': void;
'drag': DragEvent
};

interface UpdateContentEvent {
Expand Down

0 comments on commit 67f1aaa

Please sign in to comment.