mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-09 18:40:08 +02:00
feat: support Image binding (#4347)
This commit is contained in:
@@ -85,6 +85,7 @@ export const isBindableElement = (
|
||||
(element.type === "rectangle" ||
|
||||
element.type === "diamond" ||
|
||||
element.type === "ellipse" ||
|
||||
element.type === "image" ||
|
||||
element.type === "text")
|
||||
);
|
||||
};
|
||||
|
@@ -683,6 +683,7 @@ const renderBindingHighlightForBindableElement = (
|
||||
switch (element.type) {
|
||||
case "rectangle":
|
||||
case "text":
|
||||
case "image":
|
||||
strokeRectWithRotation(
|
||||
context,
|
||||
x1 - padding,
|
||||
|
Reference in New Issue
Block a user