Focus editor elements when highlighting them by clicking the diagram.

This commit is contained in:
Ian Gulliver
2019-07-14 19:15:53 +00:00
parent 25e227d7f8
commit 5527cd52d4

View File

@@ -158,7 +158,11 @@ class Grid {
elem.addEventListener('click', () => {
let editorElem = document.getElementById(id);
if (!editorElem) {
return;
}
editorElem.xArchObj.toggleHighlight();
editorElem.focus();
});
}