diff --git a/src/charts.ts b/src/charts.ts index ff7f61129..b2b2a27c2 100644 --- a/src/charts.ts +++ b/src/charts.ts @@ -192,6 +192,7 @@ export const renderSpreadsheet = ( y, startArrowhead: null, endArrowhead: null, + width: chartWidth, points: [ [0, 0], [chartWidth, 0], @@ -205,6 +206,7 @@ export const renderSpreadsheet = ( y, startArrowhead: null, endArrowhead: null, + height: chartHeight, points: [ [0, 0], [0, -chartHeight], @@ -220,6 +222,7 @@ export const renderSpreadsheet = ( endArrowhead: null, ...commonProps, strokeStyle: "dotted", + width: chartWidth, points: [ [0, 0], [chartWidth, 0], diff --git a/src/packages/excalidraw/CHANGELOG.MD b/src/packages/excalidraw/CHANGELOG.MD index 3ae1116f4..c9caeefed 100644 --- a/src/packages/excalidraw/CHANGELOG.MD +++ b/src/packages/excalidraw/CHANGELOG.MD @@ -26,6 +26,7 @@ Please add the latest change on the top under the correct section. ### Fixes +- Fix resizing the pasted charts [#2586](https://github.com/excalidraw/excalidraw/pull/2586) - Fix element visibility and zoom on cursor when canvas offset isn't 0. [#2534](https://github.com/excalidraw/excalidraw/pull/2534) - Fix Library Menu Layout [#2502](https://github.com/excalidraw/excalidraw/pull/2502)