File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 179179 position : absolute;
180180}
181181
182+ .xterm-screen .xterm-decoration-container .xterm-decoration .xterm-decoration-top-layer {
183+ z-index : 7 ;
184+ }
185+
182186.xterm-decoration-overview-ruler {
183- z-index : 7 ;
187+ z-index : 8 ;
184188 position : absolute;
185189 top : 0 ;
186190 right : 0 ;
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ export class BufferDecorationRenderer extends Disposable {
7272 private _createElement ( decoration : IInternalDecoration ) : HTMLElement {
7373 const element = document . createElement ( 'div' ) ;
7474 element . classList . add ( 'xterm-decoration' ) ;
75+ element . classList . toggle ( 'xterm-decoration-top-layer' , decoration ?. options ?. layer === 'top' ) ;
7576 element . style . width = `${ Math . round ( ( decoration . options . width || 1 ) * this . _renderService . dimensions . css . cell . width ) } px` ;
7677 element . style . height = `${ ( decoration . options . height || 1 ) * this . _renderService . dimensions . css . cell . height } px` ;
7778 element . style . top = `${ ( decoration . marker . line - this . _bufferService . buffers . active . ydisp ) * this . _renderService . dimensions . css . cell . height } px` ;
You can’t perform that action at this time.
0 commit comments