@omnia/velcron 8.0.343-dev → 8.0.344-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/parser/VelcronStyles.js +3 -0
package/package.json
CHANGED
package/parser/VelcronStyles.js
CHANGED
|
@@ -159,6 +159,9 @@ class VelcronStyles {
|
|
|
159
159
|
const colorType = VelcronDataBinder_1.VelcronDataBinder.bind(renderCtx, textDefinition.colorType);
|
|
160
160
|
const toned = VelcronDataBinder_1.VelcronDataBinder.bind(renderCtx, textDefinition.toned);
|
|
161
161
|
const noWrap = VelcronDataBinder_1.VelcronDataBinder.bind(renderCtx, textDefinition.noWrap);
|
|
162
|
+
if (textDefinition.align && textDefinition.align !== "left") {
|
|
163
|
+
styleBase.textAlign = textDefinition.align;
|
|
164
|
+
}
|
|
162
165
|
let color;
|
|
163
166
|
if (colorType) {
|
|
164
167
|
color = renderCtx.colors.get[colorType];
|