Fix collision check for rectangles and rendering of binding area (#2221)
This commit is contained in:
@ -679,7 +679,7 @@ const renderBindingHighlightForBindableElement = (
|
||||
const strokeOffset = 4;
|
||||
context.strokeStyle = "rgba(0,0,0,.05)";
|
||||
context.lineWidth = threshold - strokeOffset;
|
||||
const padding = strokeOffset + threshold / 2;
|
||||
const padding = strokeOffset / 2 + threshold / 2;
|
||||
|
||||
switch (element.type) {
|
||||
case "rectangle":
|
||||
|
Reference in New Issue
Block a user