File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/core/src/browser/shell Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -644,10 +644,8 @@ export class TabBarRenderer extends TabBar.Renderer {
644644 } else if ( title . caption ) {
645645 const position = this . tabBar . orientation === 'horizontal' ? 'bottom' : 'right' ;
646646 const tooltip = ArrayUtils . coalesce ( [ title . caption , ...this . getDecorationData ( title , 'tooltip' ) ] ) . join ( ' - ' ) ;
647- // Preserve multiple consecutive spaces by replacing with non-breaking spaces
648- const preservedTooltip = tooltip . replace ( / { 2 , } / g, ( match ) =>
649- "\u00A0" . repeat ( match . length ) ,
650- ) ;
647+ // Preserve multiple consecutive spaces by replacing with non-breaking spaces
648+ const preservedTooltip = tooltip . replace ( / { 2 , } / g, ( match ) => "\u00A0" . repeat ( match . length ) ) ;
651649 this . hoverService . requestHover ( {
652650 content : preservedTooltip ,
653651 target : event . currentTarget ,
You can’t perform that action at this time.
0 commit comments