lint & format

This commit is contained in:
dwelle
2026-01-24 22:27:43 +01:00
parent be9981bda5
commit 29ba7fe96d
181 changed files with 3968 additions and 2654 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ export const exportToCanvas = ({
const scale =
maxWidthOrHeight < max
? maxWidthOrHeight / max
: appState?.exportScale ?? 1;
: (appState?.exportScale ?? 1);
canvas.width = width * scale;
canvas.height = height * scale;
+2 -2
View File
@@ -196,8 +196,8 @@ export const elementsOverlappingBBox = ({
type === "overlap"
? elementPartiallyOverlapsWithOrContainsBBox(element, adjustedBBox)
: type === "inside"
? isElementInsideBBox(element, adjustedBBox)
: isElementInsideBBox(element, adjustedBBox, true);
? isElementInsideBBox(element, adjustedBBox)
: isElementInsideBBox(element, adjustedBBox, true);
if (isOverlaping) {
includedElementSet.add(element.id);