提交 1cc01956 编写于 作者: J João Moreno

scm: always call onDidChangeContentHeight

related to #102358
上级 52daded0
......@@ -318,12 +318,7 @@ class InputRenderer implements ICompressibleTreeRenderer<ISCMInput, FuzzyScore,
const startListeningContentHeightChange = () => {
disposables.add(templateData.inputWidget.onDidChangeContentHeight(onDidChangeContentHeight));
const contentHeight = templateData.inputWidget.getContentHeight();
if (contentHeight !== InputRenderer.DEFAULT_HEIGHT) {
onDidChangeContentHeight();
}
};
// Setup height change listener on next tick
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册