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 {
159159
160160 this . _reviewPane = this . _register ( this . _instantiationService . createInstance ( DiffReview2 , this ) ) ;
161161 this . elements . root . appendChild ( this . _reviewPane . domNode . domNode ) ;
162- this . elements . root . appendChild ( this . _reviewPane . shadow . domNode ) ;
163162 this . elements . root . appendChild ( this . _reviewPane . actionBarContainer . domNode ) ;
164163 reviewPaneObservable . set ( this . _reviewPane , undefined ) ;
165164
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ export class DiffReview2 extends Disposable {
8787
8888 private readonly _diffEditor : DiffEditorWidget2 ;
8989 private get _isVisible ( ) { return this . _isVisibleObs . get ( ) ; }
90- public readonly shadow : FastDomNode < HTMLElement > ;
9190 private readonly _actionBar : ActionBar ;
9291 public readonly actionBarContainer : FastDomNode < HTMLElement > ;
9392 public readonly domNode : FastDomNode < HTMLElement > ;
@@ -109,9 +108,6 @@ export class DiffReview2 extends Disposable {
109108 super ( ) ;
110109 this . _diffEditor = diffEditor ;
111110
112- this . shadow = createFastDomNode ( document . createElement ( 'div' ) ) ;
113- this . shadow . setClassName ( 'diff-review-shadow' ) ;
114-
115111 this . actionBarContainer = createFastDomNode ( document . createElement ( 'div' ) ) ;
116112 this . actionBarContainer . setClassName ( 'diff-review-actions' ) ;
117113 this . _actionBar = this . _register ( new ActionBar (
@@ -343,9 +339,6 @@ export class DiffReview2 extends Disposable {
343339 this . _top = top ;
344340 this . _height = height ;
345341
346- this . shadow . setTop ( top - 6 ) ;
347- this . shadow . setWidth ( width ) ;
348- this . shadow . setHeight ( this . _isVisible ? 6 : 0 ) ;
349342 this . domNode . setTop ( top ) ;
350343 this . domNode . setWidth ( width ) ;
351344 this . domNode . setHeight ( height ) ;
You can’t perform that action at this time.
0 commit comments