@@ -12,7 +12,7 @@ import { IObservable, autorun, autorunWithStore, derived, observableFromEvent, o
1212import { URI } from 'vs/base/common/uri' ;
1313import { DiffEditorEditors } from 'vs/editor/browser/widget/diffEditor/components/diffEditorEditors' ;
1414import { 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' ;
1616import { EditorGutter , IGutterItemInfo , IGutterItemView } from 'vs/editor/browser/widget/diffEditor/utils/editorGutter' ;
1717import { ActionRunnerWithContext } from 'vs/editor/browser/widget/multiDiffEditor/utils' ;
1818import { EditorOption } from 'vs/editor/common/config/editorOptions' ;
@@ -38,7 +38,7 @@ export class DiffEditorGutter extends Disposable {
3838
3939 public readonly width = derived ( this , reader => this . _hasActions . read ( reader ) ? width : 0 ) ;
4040
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' } } , [ ] ) ;
4242
4343 constructor (
4444 diffEditorRoot : HTMLDivElement ,
@@ -50,7 +50,7 @@ export class DiffEditorGutter extends Disposable {
5050 ) {
5151 super ( ) ;
5252
53- this . _register ( appendRemoveOnDispose ( diffEditorRoot , this . elements . root ) ) ;
53+ this . _register ( prependRemoveOnDispose ( diffEditorRoot , this . elements . root ) ) ;
5454
5555 this . _register ( addDisposableListener ( this . elements . root , 'click' , ( ) => {
5656 this . _editors . modified . focus ( ) ;
0 commit comments