feat: adds pan and pinch nav mode like figma (#7410)

* Adds Figma pan modes

* Added selection on drag

* Changed multi selection key code to shift

* Changed tests to have correct modifiers
This commit is contained in:
Lucas Oliveira 2025-04-07 16:15:57 -03:00 • committed by GitHub
commit a2c5090c7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 13 additions and 20 deletions

View file

@ -55,7 +55,7 @@ test.describe("save component tests", () => {
await zoomOut(page, 2);
await page.getByTestId("title-Agent Initializer").click({
modifiers: ["Control"],
modifiers: ["Shift"],
});
await page.getByRole("button", { name: "Group" }).click();