@glideapps/glide-data-grid
Advanced tools
Comparing version 3.1.1-alpha7 to 3.1.1-alpha8
@@ -506,2 +506,4 @@ import { isInnerOnlyCell, GridCellKind } from "./data-grid-types"; | ||
ctx.save(); | ||
let font = `${outerTheme.baseFontStyle} ${outerTheme.fontFamily}`; | ||
ctx.font = font; | ||
ctx.beginPath(); | ||
@@ -598,2 +600,9 @@ ctx.rect(drawX + diff, headerHeight + 1, c.width - diff, height - headerHeight - 1); | ||
const cellFont = `${theme.baseFontStyle} ${theme.fontFamily}`; | ||
if (cellFont !== font) { | ||
ctx.font = cellFont; | ||
font = cellFont; | ||
} | ||
if (drawCell(ctx, row, cell, c.sourceIndex, drawX, drawY, c.width, rh, highlighted, theme, drawCustomCell, imageLoader, (_hoverValue$hoverAmou = hoverValue === null || hoverValue === void 0 ? void 0 : hoverValue.hoverAmount) !== null && _hoverValue$hoverAmou !== void 0 ? _hoverValue$hoverAmou : 0, hoverInfo, frameTime)) { | ||
@@ -600,0 +609,0 @@ enqueue([c.sourceIndex, row]); |
{ | ||
"name": "@glideapps/glide-data-grid", | ||
"version": "3.1.1-alpha7", | ||
"version": "3.1.1-alpha8", | ||
"description": "Super fast, pure canvas Data Grid Editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/js/index.js", |
293418
7123