Skip to content

Commit 500cd43

Browse files
committed
Ensure folding hint is hidden for cells that don't fold
Fix microsoft#151150
1 parent 17b94cf commit 500cd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class FoldedCellHint extends CellPart {
3939

4040
const foldHintTop = element.layoutInfo.previewHeight;
4141
this._container.style.top = `${foldHintTop}px`;
42-
} else if (element.foldingState === CellFoldingState.Expanded) {
42+
} else {
4343
DOM.hide(this._container);
4444
}
4545
}

0 commit comments

Comments
 (0)