Reduce the maximum size of the binding gap (#2450)

This commit is contained in:
Lipis 2020-12-09 15:03:25 +02:00 committed by GitHub
parent 4d71078f48
commit c7b5cdb71e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -27,9 +27,9 @@ describe("element binding", () => {
height: 500,
});
const arrow = UI.createElement("arrow", {
x: 220,
x: 210,
y: 250,
width: 160,
width: 180,
height: 1,
});
expect(arrow.startBinding?.elementId).toBe(rectLeft.id);