提交 2980c2fc 编写于 作者: B Benjamin Pasero

explorer: open file on mouse up (fixes #8267, fixes #10775)

上级 064f4ead
...@@ -449,7 +449,7 @@ export class FileController extends DefaultController { ...@@ -449,7 +449,7 @@ export class FileController extends DefaultController {
@IMenuService menuService: IMenuService, @IMenuService menuService: IMenuService,
@IContextKeyService contextKeyService: IContextKeyService @IContextKeyService contextKeyService: IContextKeyService
) { ) {
super({ clickBehavior: ClickBehavior.ON_MOUSE_DOWN }); super({ clickBehavior: ClickBehavior.ON_MOUSE_UP /* do not change to not break DND */ });
this.contributedContextMenu = menuService.createMenu(MenuId.ExplorerContext, contextKeyService); this.contributedContextMenu = menuService.createMenu(MenuId.ExplorerContext, contextKeyService);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册