feat(editor): reduce binding gap (#10739)

* feat(editor): reduce binding gap to 7px

* feat(editor): reduce binding gap to 5px

* feat(editor): reduce binding gap to 3px

* go back to 5px

* update tests
This commit is contained in:
David Luzar
2026-02-05 12:00:56 +01:00
committed by GitHub
parent f39ac4a653
commit 83d3943cd0
8 changed files with 161 additions and 161 deletions
+2 -2
View File
@@ -4628,7 +4628,7 @@ describe("history", () => {
}),
endBinding: expect.objectContaining({
elementId: rect2.id,
fixedPoint: [0.41019091151895054, 0.5898090884810495],
fixedPoint: [0.4106696643494564, 0.5893303356505437],
mode: "orbit",
}),
}),
@@ -4772,7 +4772,7 @@ describe("history", () => {
// rebound with previous rectangle
endBinding: expect.objectContaining({
elementId: rect2.id,
fixedPoint: [0.39511653718091, 0.6048834628190899],
fixedPoint: [0.39746300211416496, 0.6025369978858351],
mode: "orbit",
}),
}),