From 1131234531988e3e71569b5fa22f6ca793b4a384 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Tue, 8 Oct 2024 21:00:08 +0200 Subject: [PATCH] FIX: Slightly better widths in the row headers I'm afraid this nees to be completely redone --- .../src/components/WorksheetCanvas/worksheetCanvas.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webapp/src/components/WorksheetCanvas/worksheetCanvas.ts b/webapp/src/components/WorksheetCanvas/worksheetCanvas.ts index 9c229ca..a7dacef 100644 --- a/webapp/src/components/WorksheetCanvas/worksheetCanvas.ts +++ b/webapp/src/components/WorksheetCanvas/worksheetCanvas.ts @@ -674,15 +674,15 @@ export default class WorksheetCanvas { const rowHeight = this.getRowHeight(selectedSheet, row); const selected = row >= rowStart && row <= rowEnd; context.fillStyle = headerBorderColor; - context.fillRect(0, topLeftCornerY, headerColumnWidth, rowHeight); + context.fillRect(0.5, topLeftCornerY, headerColumnWidth, rowHeight); context.fillStyle = selected ? headerSelectedBackground : headerBackground; context.fillRect( - 1, - topLeftCornerY + 1, - headerColumnWidth - 2, - rowHeight - 2, + 0.5, + topLeftCornerY + 0.5, + headerColumnWidth, + rowHeight - 1, ); if (selected) { context.fillStyle = outlineColor;