mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-15 05:20:27 +02:00
feat: center content
This commit is contained in:
@@ -82,7 +82,7 @@ export const exportToCanvas = async (
|
||||
exportBackgroundImage: appState.fancyBackgroundImageUrl,
|
||||
};
|
||||
|
||||
if (appState.fancyBackgroundImageUrl) {
|
||||
if (exportBackground && appState.fancyBackgroundImageUrl) {
|
||||
const contentBounds = getCommonBounds(elements);
|
||||
const updatedRenderProps = await applyFancyBackground({
|
||||
canvas,
|
||||
|
Reference in New Issue
Block a user