Skip to content

Commit dfc6a2a

Browse files
authored
remove old protection for multiple clicks (#265414)
Fixes #265034 Original Issue #41363 no longer repros
1 parent a2f5b4a commit dfc6a2a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vs/base/browser/ui/dropdown/dropdown.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,8 @@ export class BaseDropdown extends ActionRunner {
6161

6262
for (const event of [EventType.MOUSE_DOWN, GestureEventType.Tap]) {
6363
this._register(addDisposableListener(this._label, event, e => {
64-
if (isMouseEvent(e) && (e.detail > 1 || e.button !== 0)) {
64+
if (isMouseEvent(e) && e.button !== 0) {
6565
// prevent right click trigger to allow separate context menu (https://github.com/microsoft/vscode/issues/151064)
66-
// prevent multiple clicks to open multiple context menus (https://github.com/microsoft/vscode/issues/41363)
6766
return;
6867
}
6968

0 commit comments

Comments
 (0)