Skip to content

Commit

Permalink
Merge branch 'master' into fix-multi-select-add
Browse files Browse the repository at this point in the history
  • Loading branch information
asturur authored Aug 22, 2023
2 parents e6f70d9 + b13879c commit 67bbbd9
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 11 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [next]

- fix(MultiSelection): add target from behind active selection [#8744](https://github.com/fabricjs/fabric.js/issues/8744)
- test(): fix snapshots by removing version [#9164](https://github.com/fabricjs/fabric.js/pull/9164)

## [6.0.0-beta11]

Expand Down
6 changes: 0 additions & 6 deletions src/shapes/IText/__snapshots__/ITextBehavior.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ exports[`text imperative changes insertChars 2`] = `
"text": "tabest",
"top": 0,
"type": "IText",
"version": "6.0.0-beta10",
"width": 58,
}
`;
Expand Down Expand Up @@ -258,7 +257,6 @@ exports[`text imperative changes insertChars and removes chars 2`] = `
"text": "tabst",
"top": 0,
"type": "IText",
"version": "6.0.0-beta10",
"width": 47,
}
`;
Expand Down Expand Up @@ -342,7 +340,6 @@ exports[`text imperative changes insertChars and removes chars 4`] = `
"text": "tab",
"top": 0,
"type": "IText",
"version": "6.0.0-beta10",
"width": 31,
}
`;
Expand Down Expand Up @@ -550,7 +547,6 @@ exports[`text imperative changes insertChars can accept some style for the new t
aest",
"top": 0,
"type": "IText",
"version": "6.0.0-beta10",
"width": 39,
}
`;
Expand Down Expand Up @@ -725,7 +721,6 @@ exports[`text imperative changes insertChars handles new lines correctly 2`] = `
est",
"top": 0,
"type": "IText",
"version": "6.0.0-beta10",
"width": 31,
}
`;
Expand Down Expand Up @@ -804,7 +799,6 @@ exports[`text imperative changes removeChars 2`] = `
"text": "tt",
"top": 0,
"type": "IText",
"version": "6.0.0-beta10",
"width": 14,
}
`;
1 change: 0 additions & 1 deletion src/shapes/Text/__snapshots__/Text.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ exports[`Text toObject 1`] = `
"top": 0,
"type": "Text",
"underline": false,
"version": "6.0.0-beta10",
"visible": true,
"width": 60,
}
Expand Down
3 changes: 0 additions & 3 deletions src/shapes/__snapshots__/Textbox.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ fox",
"top": 0,
"type": "Textbox",
"underline": false,
"version": "6.0.0-beta10",
"visible": true,
"width": 102,
}
Expand All @@ -67,7 +66,6 @@ brown
fox",
"top": 0,
"type": "Textbox",
"version": "6.0.0-beta10",
"width": 102,
}
`;
Expand Down Expand Up @@ -157,7 +155,6 @@ fox",
"top": 0,
"type": "Textbox",
"underline": false,
"version": "6.0.0-beta10",
"visible": true,
"width": 120,
}
Expand Down
2 changes: 1 addition & 1 deletion toMatchRoundedSnapshot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function roundDeep(received: any, key: string | number) {

expect.extend({
toMatchRoundedSnapshot(
received: Record<string, unknown>,
{ version, ...received }: Record<string, unknown>,
keys?: string[],
...propertiesOrHint
) {
Expand Down

0 comments on commit 67bbbd9

Please sign in to comment.