react-konva-grid
Advanced tools
Comparing version 2.8.13 to 2.8.14
@@ -46,6 +46,6 @@ "use strict"; | ||
value !== void 0 ? (react_1.default.createElement(react_konva_1.Shape, { strokeWidth: 0, hitStrokeWidth: 0, perfectDrawEnabled: false, shadowForStrokeEnabled: false, x: x, y: y, height: height, width: width, sceneFunc: (context) => { | ||
context._context.font = `${fontSize}px ${fontFamily}`; | ||
context._context.fillStyle = textColor; | ||
context.setAttr("font", `${fontSize}px ${fontFamily}`); | ||
context.setAttr("fillStyle", textColor); | ||
const lineTranslateX = getX(align, width, padding); | ||
context._context.textAlign = align; | ||
context.setAttr("textAlign", align); | ||
context.fillText(value, lineTranslateX, (height || 0) - padding); | ||
@@ -52,0 +52,0 @@ } })) : null)); |
{ | ||
"name": "react-konva-grid", | ||
"description": "Declarative React Canvas Grid primitive for Data table, Pivot table, Excel Worksheets", | ||
"version": "2.8.13", | ||
"version": "2.8.14", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
368829