未验证 提交 d7911500 编写于 作者: C Christopher Leidigh 提交者: GitHub

Settings: call onChange for checkbox toggle (#57184)

上级 568d9927
......@@ -684,6 +684,7 @@ export class SettingsRenderer implements ITreeRenderer {
// Toggle target checkbox
if (targetElement.tagName.toLowerCase() !== 'a' && targetId === template.checkbox.domNode.id) {
template.checkbox.checked = template.checkbox.checked ? false : true;
template.onChange(checkbox.checked);
}
DOM.EventHelper.stop(e);
}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册