@@ -12,7 +12,7 @@ import { IObservable, autorun, autorunWithStore, derived, observableFromEvent, o
12
12
import { URI } from 'vs/base/common/uri' ;
13
13
import { DiffEditorEditors } from 'vs/editor/browser/widget/diffEditor/components/diffEditorEditors' ;
14
14
import { DiffEditorViewModel } from 'vs/editor/browser/widget/diffEditor/diffEditorViewModel' ;
15
- import { appendRemoveOnDispose , applyStyle } from 'vs/editor/browser/widget/diffEditor/utils' ;
15
+ import { appendRemoveOnDispose , applyStyle , prependRemoveOnDispose } from 'vs/editor/browser/widget/diffEditor/utils' ;
16
16
import { EditorGutter , IGutterItemInfo , IGutterItemView } from 'vs/editor/browser/widget/diffEditor/utils/editorGutter' ;
17
17
import { ActionRunnerWithContext } from 'vs/editor/browser/widget/multiDiffEditor/utils' ;
18
18
import { EditorOption } from 'vs/editor/common/config/editorOptions' ;
@@ -38,7 +38,7 @@ export class DiffEditorGutter extends Disposable {
38
38
39
39
public readonly width = derived ( this , reader => this . _hasActions . read ( reader ) ? width : 0 ) ;
40
40
41
- private readonly elements = h ( 'div.gutter@gutter' , { style : { position : 'absolute' , height : '100%' , width : width + 'px' , zIndex : '0' } } , [ ] ) ;
41
+ private readonly elements = h ( 'div.gutter@gutter' , { style : { position : 'absolute' , height : '100%' , width : width + 'px' } } , [ ] ) ;
42
42
43
43
constructor (
44
44
diffEditorRoot : HTMLDivElement ,
@@ -50,7 +50,7 @@ export class DiffEditorGutter extends Disposable {
50
50
) {
51
51
super ( ) ;
52
52
53
- this . _register ( appendRemoveOnDispose ( diffEditorRoot , this . elements . root ) ) ;
53
+ this . _register ( prependRemoveOnDispose ( diffEditorRoot , this . elements . root ) ) ;
54
54
55
55
this . _register ( addDisposableListener ( this . elements . root , 'click' , ( ) => {
56
56
this . _editors . modified . focus ( ) ;
0 commit comments