File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
src/vs/editor/browser/widget/diffEditorWidget2 Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,6 @@ export class DiffEditorWidget2 extends DelegatingEditor implements IDiffEditor {
159
159
160
160
this . _reviewPane = this . _register ( this . _instantiationService . createInstance ( DiffReview2 , this ) ) ;
161
161
this . elements . root . appendChild ( this . _reviewPane . domNode . domNode ) ;
162
- this . elements . root . appendChild ( this . _reviewPane . shadow . domNode ) ;
163
162
this . elements . root . appendChild ( this . _reviewPane . actionBarContainer . domNode ) ;
164
163
reviewPaneObservable . set ( this . _reviewPane , undefined ) ;
165
164
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ export class DiffReview2 extends Disposable {
87
87
88
88
private readonly _diffEditor : DiffEditorWidget2 ;
89
89
private get _isVisible ( ) { return this . _isVisibleObs . get ( ) ; }
90
- public readonly shadow : FastDomNode < HTMLElement > ;
91
90
private readonly _actionBar : ActionBar ;
92
91
public readonly actionBarContainer : FastDomNode < HTMLElement > ;
93
92
public readonly domNode : FastDomNode < HTMLElement > ;
@@ -109,9 +108,6 @@ export class DiffReview2 extends Disposable {
109
108
super ( ) ;
110
109
this . _diffEditor = diffEditor ;
111
110
112
- this . shadow = createFastDomNode ( document . createElement ( 'div' ) ) ;
113
- this . shadow . setClassName ( 'diff-review-shadow' ) ;
114
-
115
111
this . actionBarContainer = createFastDomNode ( document . createElement ( 'div' ) ) ;
116
112
this . actionBarContainer . setClassName ( 'diff-review-actions' ) ;
117
113
this . _actionBar = this . _register ( new ActionBar (
@@ -343,9 +339,6 @@ export class DiffReview2 extends Disposable {
343
339
this . _top = top ;
344
340
this . _height = height ;
345
341
346
- this . shadow . setTop ( top - 6 ) ;
347
- this . shadow . setWidth ( width ) ;
348
- this . shadow . setHeight ( this . _isVisible ? 6 : 0 ) ;
349
342
this . domNode . setTop ( top ) ;
350
343
this . domNode . setWidth ( width ) ;
351
344
this . domNode . setHeight ( height ) ;
You can’t perform that action at this time.
0 commit comments