mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Fix multiline disposables
This commit is contained in:
parent
2fbb01afae
commit
49cb8ce9a3
|
@ -1453,7 +1453,7 @@ export class SettingMultilineTextRenderer extends AbstractSettingTextRenderer im
|
|||
onChange(value);
|
||||
};
|
||||
super.renderValue(dataElement, template, onChangeOverride);
|
||||
template.toDispose.add(
|
||||
template.elementDisposables.add(
|
||||
template.inputBox.onDidHeightChange(e => {
|
||||
const height = template.containerElement.clientHeight;
|
||||
// Don't fire event if height is reported as 0,
|
||||
|
|
Loading…
Reference in a new issue