@lightningtv/core
Advanced tools
Comparing version
@@ -82,3 +82,2 @@ import { renderer, createShader } from './lightningInit.js'; | ||
'fontWeight', | ||
'id', | ||
'letterSpacing', | ||
@@ -464,8 +463,8 @@ 'maxLines', | ||
const props = node.lng; | ||
if ('right' in props && props.right) { | ||
props.x = (parent.width || 0) - props.right; | ||
if (this.right || this.right === 0) { | ||
props.x = (parent.width || 0) - this.right; | ||
props.mountX = 1; | ||
} | ||
if ('bottom' in props && props.bottom) { | ||
props.y = (parent.height || 0) - props.bottom; | ||
if (this.bottom || this.bottom === 0) { | ||
props.y = (parent.height || 0) - this.bottom; | ||
props.mountY = 1; | ||
@@ -472,0 +471,0 @@ } |
{ | ||
"name": "@lightningtv/core", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "Lightning TV Core for Universal Renderers", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -128,3 +128,2 @@ import { renderer, createShader } from './lightningInit.js'; | ||
'fontWeight', | ||
'id', | ||
'letterSpacing', | ||
@@ -654,8 +653,8 @@ 'maxLines', | ||
const props = node.lng; | ||
if ('right' in props && props.right) { | ||
props.x = (parent.width || 0) - props.right; | ||
if (this.right || this.right === 0) { | ||
props.x = (parent.width || 0) - this.right; | ||
props.mountX = 1; | ||
} | ||
if ('bottom' in props && props.bottom) { | ||
props.y = (parent.height || 0) - props.bottom; | ||
if (this.bottom || this.bottom === 0) { | ||
props.y = (parent.height || 0) - this.bottom; | ||
props.mountY = 1; | ||
@@ -662,0 +661,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
220951
-0.01%3245
-0.06%