canvas-text-layout
Advanced tools
Comparing version
{ | ||
"name": "canvas-text-layout", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "canvas", | ||
@@ -5,0 +5,0 @@ "main": "dist/bundle.js", |
@@ -60,2 +60,3 @@ import { getMargin } from './help'; | ||
div.style.fontFamily = this.config.fontFamily; | ||
div.style.lineHeight = this.config.lineHeight.toString(); | ||
div.style.padding = this.config.padding; | ||
@@ -135,2 +136,3 @@ div.style.color = this.config.color; | ||
this.dom.style.fontFamily = this.config.fontFamily; | ||
this.dom.style.lineHeight = this.config.lineHeight.toString(); | ||
this.dom.style.textAlign = 'left'; | ||
@@ -137,0 +139,0 @@ this.dom.style.color = this.config.color; |
37234
0.37%581
0.35%