mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
fixes #23774
This commit is contained in:
@@ -32,7 +32,8 @@ const MouseEventTypes = [
|
||||
'mouseover',
|
||||
'mousemove',
|
||||
'mouseout',
|
||||
'contextmenu'
|
||||
'contextmenu',
|
||||
'touchstart'
|
||||
];
|
||||
|
||||
export interface IListViewOptions {
|
||||
|
||||
@@ -348,6 +348,7 @@ class MouseController<T> implements IDisposable {
|
||||
this.disposables.push(view.addListener('mousedown', e => this.onMouseDown(e)));
|
||||
this.disposables.push(view.addListener('click', e => this.onPointer(e)));
|
||||
this.disposables.push(view.addListener('dblclick', e => this.onDoubleClick(e)));
|
||||
this.disposables.push(view.addListener('touchstart', e => this.onMouseDown(e)));
|
||||
this.disposables.push(view.addListener(TouchEventType.Tap, e => this.onPointer(e)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user