diff --git a/webapp/IronCalc/src/components/Workbook/Workbook.tsx b/webapp/IronCalc/src/components/Workbook/Workbook.tsx index 2586f60..1b66927 100644 --- a/webapp/IronCalc/src/components/Workbook/Workbook.tsx +++ b/webapp/IronCalc/src/components/Workbook/Workbook.tsx @@ -574,8 +574,8 @@ const Workbook = (props: { model: Model; workbookState: WorkbookState }) => { columnStart, ); const [x1, y1] = worksheetCanvas.getCoordinatesByCell( - rowEnd, - columnEnd, + rowEnd + 1, + columnEnd + 1, ); const width = (x1 - x) * devicePixelRatio; const height = (y1 - y) * devicePixelRatio;