File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/editor/browser/widget/diffEditorWidget2 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ export function applyViewZones(editor: ICodeEditor, viewZones: IObservable<IObse
333
333
viewZonIdsPerViewZone . set ( z , id ) ;
334
334
}
335
335
} ) ;
336
- if ( setIsUpdating ) { setIsUpdating ( true ) ; }
336
+ if ( setIsUpdating ) { setIsUpdating ( false ) ; }
337
337
338
338
store . add ( autorunHandleChanges ( 'layoutZone on change' , {
339
339
createEmptyChangeSummary ( ) {
@@ -353,15 +353,15 @@ export function applyViewZones(editor: ICodeEditor, viewZones: IObservable<IObse
353
353
}
354
354
if ( setIsUpdating ) { setIsUpdating ( true ) ; }
355
355
editor . changeViewZones ( a => { for ( const id of changeSummary ) { a . layoutZone ( id ) ; } } ) ;
356
- if ( setIsUpdating ) { setIsUpdating ( true ) ; }
356
+ if ( setIsUpdating ) { setIsUpdating ( false ) ; }
357
357
} ) ) ;
358
358
} ) ) ;
359
359
360
360
store . add ( {
361
361
dispose ( ) {
362
362
if ( setIsUpdating ) { setIsUpdating ( true ) ; }
363
363
editor . changeViewZones ( a => { for ( const id of lastViewZoneIds ) { a . removeZone ( id ) ; } } ) ;
364
- if ( setIsUpdating ) { setIsUpdating ( true ) ; }
364
+ if ( setIsUpdating ) { setIsUpdating ( false ) ; }
365
365
}
366
366
} ) ;
367
367
You can’t perform that action at this time.
0 commit comments