@lightningtv/core
Advanced tools
Comparing version 2.2.9 to 2.2.10
@@ -330,2 +330,6 @@ import { renderer, createShader } from './lightningInit.js'; | ||
set style(values) { | ||
if (this._style) { | ||
console.warn('Style already set and should be kept read only'); | ||
// return; | ||
} | ||
if (isArray(values)) { | ||
@@ -529,5 +533,2 @@ const v = values.filter(Boolean); | ||
props.parent = parent.lng; | ||
if (node._effects) { | ||
props.shader = convertEffectsToShader(node, node._effects); | ||
} | ||
if (isElementText(node)) { | ||
@@ -564,2 +565,5 @@ const textProps = props; | ||
} | ||
if (node._effects) { | ||
props.shader = convertEffectsToShader(node, node._effects); | ||
} | ||
log('Rendering: ', this, props); | ||
@@ -592,2 +596,5 @@ node.lng = renderer.createTextNode(props); | ||
} | ||
if (node._effects) { | ||
props.shader = convertEffectsToShader(node, node._effects); | ||
} | ||
log('Rendering: ', this, props); | ||
@@ -594,0 +601,0 @@ node.lng = renderer.createNode(props); |
{ | ||
"name": "@lightningtv/core", | ||
"version": "2.2.9", | ||
"version": "2.2.10", | ||
"description": "Lightning TV Core for Universal Renderers", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -534,2 +534,7 @@ import { renderer, createShader } from './lightningInit.js'; | ||
set style(values: (Styles | undefined)[] | Styles) { | ||
if (this._style) { | ||
console.warn('Style already set and should be kept read only'); | ||
// return; | ||
} | ||
if (isArray(values)) { | ||
@@ -763,6 +768,2 @@ const v = values.filter(Boolean); | ||
if (node._effects) { | ||
props.shader = convertEffectsToShader(node, node._effects); | ||
} | ||
if (isElementText(node)) { | ||
@@ -804,2 +805,6 @@ const textProps = props as TextProps; | ||
if (node._effects) { | ||
props.shader = convertEffectsToShader(node, node._effects); | ||
} | ||
log('Rendering: ', this, props); | ||
@@ -835,2 +840,6 @@ node.lng = renderer.createTextNode(props as unknown as ITextNodeProps); | ||
if (node._effects) { | ||
props.shader = convertEffectsToShader(node, node._effects); | ||
} | ||
log('Rendering: ', this, props); | ||
@@ -837,0 +846,0 @@ node.lng = renderer.createNode(props as INodeProps); |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
220234
3357