代码库二级issue滚动条
This commit is contained in:
parent
f989e62702
commit
fb05890701
|
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue