代码库二级issue滚动条

This commit is contained in:
hucong 2021-10-08 16:42:16 +08:00
parent f989e62702
commit fb05890701
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,6 @@ class m_editor extends Component {
const handleEditorMount = (editor, monaco) => {
editor.onDidChangeModelDecorations(() => {
updateEditorHeight(); // typing
requestAnimationFrame(updateEditorHeight); // folding
});
@ -84,6 +83,8 @@ class m_editor extends Component {
editor.layout();
}
};
updateEditorHeight(); // typing
};