mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-15 05:20:27 +02:00
chore: bump Prettier to the latest (#4185)
This commit is contained in:
@@ -180,10 +180,9 @@ export const getExportSize = (
|
||||
exportPadding: number,
|
||||
scale: number,
|
||||
): [number, number] => {
|
||||
const [, , width, height] = getCanvasSize(
|
||||
elements,
|
||||
exportPadding,
|
||||
).map((dimension) => Math.trunc(dimension * scale));
|
||||
const [, , width, height] = getCanvasSize(elements, exportPadding).map(
|
||||
(dimension) => Math.trunc(dimension * scale),
|
||||
);
|
||||
|
||||
return [width, height];
|
||||
};
|
||||
|
Reference in New Issue
Block a user