mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-14 13:00:09 +02:00
feat: clean console.logs
This commit is contained in:
@@ -69,8 +69,6 @@ export const exportToCanvas = async (
|
||||
exportLogo,
|
||||
);
|
||||
|
||||
console.log(padding, exportPadding);
|
||||
|
||||
const [minX, minY, width, height] = !exportWithFancyBackground
|
||||
? getCanvasSize(elements, padding)
|
||||
: getCanvasSize(elements, padding, {
|
||||
@@ -241,8 +239,6 @@ export const exportToSvg = async (
|
||||
const offsetX = -minX + (onlyExportingSingleFrame ? 0 : padding[3]);
|
||||
const offsetY = -minY + (onlyExportingSingleFrame ? 0 : padding[0]);
|
||||
|
||||
console.log(offsetX, offsetY);
|
||||
|
||||
const exportingFrame =
|
||||
isExportingWholeCanvas || !onlyExportingSingleFrame
|
||||
? undefined
|
||||
|
@@ -206,8 +206,7 @@ const addLogo = (
|
||||
logoImage,
|
||||
(normalizedCanvasDimensions.width - logoImage.width * exportScale) / 2,
|
||||
normalizedCanvasDimensions.height -
|
||||
logoImage.height * exportScale -
|
||||
FANCY_BG_LOGO_BOTTOM_PADDING * exportScale,
|
||||
(logoImage.height + FANCY_BG_LOGO_BOTTOM_PADDING) * exportScale,
|
||||
logoImage.width * exportScale,
|
||||
logoImage.height * exportScale,
|
||||
);
|
||||
|
Reference in New Issue
Block a user