Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
protected doShowMoreToolButtons(event: React.MouseEvent): void {
const el = (event.target as HTMLElement).parentElement;
if (el) {
this.contextMenuRenderer.render(ScmWidget.ContextMenu.PATH, {
x: el.getBoundingClientRect().left,
y: el.getBoundingClientRect().top + el.offsetHeight
});
}
}