File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/vs/workbench/contrib/scm/browser Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ import { MarkdownRenderer } from 'vs/editor/contrib/markdownRenderer/browser/mar
85
85
import { Button , ButtonWithDescription , ButtonWithDropdown } from 'vs/base/browser/ui/button/button' ;
86
86
import { INotificationService } from 'vs/platform/notification/common/notification' ;
87
87
import { RepositoryContextKeys } from 'vs/workbench/contrib/scm/browser/scmViewService' ;
88
+ import { DragAndDropController } from 'vs/editor/contrib/dnd/browser/dnd' ;
88
89
import { DropIntoEditorController } from 'vs/editor/contrib/dropIntoEditor/browser/dropIntoEditorContribution' ;
89
90
import { MessageController } from 'vs/editor/contrib/message/browser/messageController' ;
90
91
@@ -1951,7 +1952,7 @@ class SCMInputWidget {
1951
1952
const editorOptions : IEditorConstructionOptions = {
1952
1953
...getSimpleEditorOptions ( ) ,
1953
1954
lineDecorationsWidth : 4 ,
1954
- dragAndDrop : false ,
1955
+ dragAndDrop : true ,
1955
1956
cursorWidth : 1 ,
1956
1957
fontSize : fontSize ,
1957
1958
lineHeight : lineHeight ,
@@ -1972,6 +1973,7 @@ class SCMInputWidget {
1972
1973
contributions : EditorExtensionsRegistry . getSomeEditorContributions ( [
1973
1974
ColorDetector . ID ,
1974
1975
ContextMenuController . ID ,
1976
+ DragAndDropController . ID ,
1975
1977
DropIntoEditorController . ID ,
1976
1978
LinkDetector . ID ,
1977
1979
MenuPreventer . ID ,
You can’t perform that action at this time.
0 commit comments