File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export class BufferDecorationRenderer extends Disposable {
28
28
this . _container . classList . add ( 'xterm-decoration-container' ) ;
29
29
this . _screenElement . appendChild ( this . _container ) ;
30
30
31
- this . register ( this . _renderService . onRenderedViewportChange ( ( ) => this . _queueRefresh ( ) ) ) ;
31
+ this . register ( this . _renderService . onRenderedViewportChange ( ( ) => this . _doRefreshDecorations ( ) ) ) ;
32
32
this . register ( this . _renderService . onDimensionsChange ( ( ) => {
33
33
this . _dimensionsChanged = true ;
34
34
this . _queueRefresh ( ) ;
@@ -50,12 +50,12 @@ export class BufferDecorationRenderer extends Disposable {
50
50
return ;
51
51
}
52
52
this . _animationFrame = this . _renderService . addRefreshCallback ( ( ) => {
53
- this . refreshDecorations ( ) ;
53
+ this . _doRefreshDecorations ( ) ;
54
54
this . _animationFrame = undefined ;
55
55
} ) ;
56
56
}
57
57
58
- public refreshDecorations ( ) : void {
58
+ private _doRefreshDecorations ( ) : void {
59
59
for ( const decoration of this . _decorationService . decorations ) {
60
60
this . _renderDecoration ( decoration ) ;
61
61
}
You can’t perform that action at this time.
0 commit comments