@codingame/monaco-vscode-view-common-service-override 7.0.3 → 7.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-view-common-service-override",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.7",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@7.0.
|
|
30
|
-
"@codingame/monaco-vscode-bulk-edit-service-override": "7.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@7.0.7",
|
|
30
|
+
"@codingame/monaco-vscode-bulk-edit-service-override": "7.0.7"
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -228,9 +228,6 @@ let WebviewElement = class WebviewElement extends Disposable {
|
|
|
228
228
|
this._register(this.on('drag-start', () => {
|
|
229
229
|
this._startBlockingIframeDragEvents();
|
|
230
230
|
}));
|
|
231
|
-
this._register(this.on('drag', (event) => {
|
|
232
|
-
this.handleDragEvent('drag', event);
|
|
233
|
-
}));
|
|
234
231
|
if (initInfo.options.enableFindWidget) {
|
|
235
232
|
this._webviewFindWidget = this._register(instantiationService.createInstance(WebviewFindWidget, this));
|
|
236
233
|
}
|
|
@@ -500,13 +497,6 @@ let WebviewElement = class WebviewElement extends Disposable {
|
|
|
500
497
|
});
|
|
501
498
|
this.window?.dispatchEvent(emulatedKeyboardEvent);
|
|
502
499
|
}
|
|
503
|
-
handleDragEvent(type, event) {
|
|
504
|
-
const emulatedDragEvent = ( (new DragEvent(type, event)));
|
|
505
|
-
Object.defineProperty(emulatedDragEvent, 'target', {
|
|
506
|
-
get: () => this.element,
|
|
507
|
-
});
|
|
508
|
-
this.window?.dispatchEvent(emulatedDragEvent);
|
|
509
|
-
}
|
|
510
500
|
windowDidDragStart() {
|
|
511
501
|
this._startBlockingIframeDragEvents();
|
|
512
502
|
}
|