change(ui) - if block with braces

This commit is contained in:
Shekar Siri 2022-06-29 17:26:34 +02:00
parent d328a9fb3c
commit 80342a1003

View file

@ -232,7 +232,7 @@ export default class AssistManager {
private onMouseClick = (e: MouseEvent): void => {
if (!this.socket) { return; }
if (getState().annotating) return // ignore clicks while annotating
if (getState().annotating) { return; } // ignore clicks while annotating
const data = this.md.getInternalViewportCoordinates(e)
// const el = this.md.getElementFromPoint(e); // requires requestiong node_id from domManager