feat: support inserting multiple images

This commit is contained in:
dwelle
2025-06-01 19:53:02 +02:00
parent 14d512f321
commit d921887e2a
3 changed files with 257 additions and 85 deletions
+3 -1
View File
@@ -1094,7 +1094,9 @@ export interface BoundingBox {
}
export const getCommonBoundingBox = (
elements: ExcalidrawElement[] | readonly NonDeleted<ExcalidrawElement>[],
elements:
| readonly ExcalidrawElement[]
| readonly NonDeleted<ExcalidrawElement>[],
): BoundingBox => {
const [minX, minY, maxX, maxY] = getCommonBounds(elements);
return {