mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: clean console.logs
This commit is contained in:
parent
425f1a5461
commit
ab9c85cd2b
2 changed files with 1 additions and 6 deletions
|
@ -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,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue