File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -659,12 +659,7 @@ export class ChatViewPane extends ViewPane implements IViewWelcomeDelegate {
659659
660660 // Show as sidebar
661661 if ( this . sessionsViewerOrientation === AgentSessionsViewerOrientation . SideBySide ) {
662- let sessionsHeight : number ;
663- if ( this . sessionsViewerLimited ) {
664- sessionsHeight = this . sessionsCount * AgentSessionsListDelegate . ITEM_HEIGHT ;
665- } else {
666- sessionsHeight = height - this . sessionsTitleContainer . offsetHeight - this . sessionsLinkContainer . offsetHeight ;
667- }
662+ const sessionsHeight = height - this . sessionsTitleContainer . offsetHeight - this . sessionsLinkContainer . offsetHeight ;
668663
669664 this . sessionsControlContainer . style . height = `${ sessionsHeight } px` ;
670665 this . sessionsControlContainer . style . width = `${ ChatViewPane . SESSIONS_SIDEBAR_WIDTH } px` ;
You can’t perform that action at this time.
0 commit comments