Fix cell focus indicator height wrong initially
This commit is contained in:
parent
df448dd078
commit
ec0d19789f
1 changed files with 1 additions and 0 deletions
|
@ -513,6 +513,7 @@ export class CodeCellRenderer extends AbstractCellRenderer implements IListRende
|
|||
elementDisposable.add(this.instantiationService.createInstance(CodeCell, this.notebookEditor, element, templateData));
|
||||
this.renderedEditors.set(element, templateData.editor);
|
||||
|
||||
templateData.focusIndicator.style.height = `${element.layoutInfo.indicatorHeight}px`;
|
||||
elementDisposable.add(element.onDidChangeLayout(() => {
|
||||
templateData.focusIndicator.style.height = `${element.layoutInfo.indicatorHeight}px`;
|
||||
}));
|
||||
|
|
Loading…
Reference in a new issue