We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad99978 commit 9658ac6Copy full SHA for 9658ac6
package/src/renderer/__tests__/e2e/Paths.spec.tsx
@@ -170,7 +170,7 @@ describe("Paths", () => {
170
]);
171
});
172
it("should draw a pattern properly", async () => {
173
- const { Skia, translate } = importSkia();
+ const { Skia } = importSkia();
174
175
const center = { x: 492 / 2, y: 757 / 2 };
176
const scale = 0.325;
@@ -253,7 +253,7 @@ describe("Paths", () => {
253
</Group>
254
);
255
})}
256
- <Group transform={translate(center)}>
+ <Group transform={[{ translate: [center.x, center.y] }]}>
257
<Group transform={[{ translateY: -200 }]}>
258
<Circles />
259
0 commit comments