feat: support Image binding (#4347)
This commit is contained in:
parent
ca15b0a008
commit
1c7ee09010
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user