Defensive programming update
Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
parent
2e61d46cbd
commit
68cb5056ac
@ -204,7 +204,7 @@ const renderBindingHighlightForBindableElement = (
|
||||
case "diamond":
|
||||
drawHighlightForDiamondWithRotation(context, padding, element);
|
||||
break;
|
||||
case "ellipse":
|
||||
case "ellipse": {
|
||||
const [x1, y1, x2, y2] = getElementAbsoluteCoords(element, elementsMap);
|
||||
const width = x2 - x1;
|
||||
const height = y2 - y1;
|
||||
@ -221,6 +221,7 @@ const renderBindingHighlightForBindableElement = (
|
||||
element.angle,
|
||||
);
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user