UPDATE: We can now change the font size!

This commit is contained in:
Nicolás Hatcher
2025-02-26 17:58:39 +01:00
committed by Nicolás Hatcher Andrés
parent 7bc563ef29
commit ce7318840d
5 changed files with 46 additions and 1 deletions

View File

@@ -353,7 +353,7 @@ export default class WorksheetCanvas {
? gridColor
: backgroundColor;
const fontSize = 13;
const fontSize = style.font?.sz || 13;
let font = `${fontSize}px ${defaultCellFontFamily}`;
let textColor = defaultTextColor;
if (style.font) {