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:
@@ -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",
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user