FIX: Download to png off by one errors
This commit is contained in:
committed by
Nicolás Hatcher Andrés
parent
3e015bf13a
commit
af49d7ad96
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user