mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: revert default element canvas padding change (#8266)
This commit is contained in:
parent
df8875a497
commit
43b2476dfe
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ const shouldResetImageFilter = (
|
|||
};
|
||||
|
||||
const getCanvasPadding = (element: ExcalidrawElement) =>
|
||||
element.type === "freedraw" ? element.strokeWidth * 12 : 200;
|
||||
element.type === "freedraw" ? element.strokeWidth * 12 : 20;
|
||||
|
||||
export const getRenderOpacity = (
|
||||
element: ExcalidrawElement,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue