diff --git a/src/element/typeChecks.ts b/src/element/typeChecks.ts index 8e634060..63cb0ec7 100644 --- a/src/element/typeChecks.ts +++ b/src/element/typeChecks.ts @@ -85,6 +85,7 @@ export const isBindableElement = ( (element.type === "rectangle" || element.type === "diamond" || element.type === "ellipse" || + element.type === "image" || element.type === "text") ); }; diff --git a/src/renderer/renderScene.ts b/src/renderer/renderScene.ts index 9fddadd7..7e47409f 100644 --- a/src/renderer/renderScene.ts +++ b/src/renderer/renderScene.ts @@ -683,6 +683,7 @@ const renderBindingHighlightForBindableElement = ( switch (element.type) { case "rectangle": case "text": + case "image": strokeRectWithRotation( context, x1 - padding,