Skip to content

Commit f38cc4e

Browse files
committed
scm: always call onDidChangeContentHeight
related to microsoft#102358
1 parent d5942ca commit f38cc4e

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/vs/workbench/contrib/scm/browser/scmViewPane.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,7 @@ class InputRenderer implements ICompressibleTreeRenderer<ISCMInput, FuzzyScore,
318318

319319
const startListeningContentHeightChange = () => {
320320
disposables.add(templateData.inputWidget.onDidChangeContentHeight(onDidChangeContentHeight));
321-
322-
const contentHeight = templateData.inputWidget.getContentHeight();
323-
324-
if (contentHeight !== InputRenderer.DEFAULT_HEIGHT) {
325-
onDidChangeContentHeight();
326-
}
321+
onDidChangeContentHeight();
327322
};
328323

329324
// Setup height change listener on next tick

0 commit comments

Comments
 (0)