File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/vs/editor/contrib/stickyScroll/browser Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ class StickyOutlineElement {
163
163
const children : StickyOutlineElement [ ] = [ ] ;
164
164
for ( const child of outlineModel . children . values ( ) ) {
165
165
if ( child instanceof OutlineGroup || child instanceof OutlineModel ) {
166
- children . push ( StickyOutlineElement . fromOutlineModel ( child , - 1 ) ) ;
166
+ children . push ( StickyOutlineElement . fromOutlineModel ( child , previousStartLine ) ) ;
167
167
} else if ( child instanceof OutlineElement && child . symbol . selectionRange . startLineNumber !== child . symbol . range . endLineNumber ) {
168
168
if ( child . symbol . selectionRange . startLineNumber !== previousStartLine ) {
169
169
children . push ( StickyOutlineElement . fromOutlineModel ( child , child . symbol . selectionRange . startLineNumber ) ) ;
You can’t perform that action at this time.
0 commit comments