@lightningjs/solid
Advanced tools
Comparing version 0.3.3 to 0.3.4
{ | ||
"name": "@lightningjs/solid", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "Lightning renderer for solid universal", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -181,3 +181,3 @@ /* | ||
linearGradient: { | ||
set(props) { | ||
set(props = {}) { | ||
this._linearGradient = props; | ||
@@ -184,0 +184,0 @@ if (props.colors) { |
@@ -72,12 +72,17 @@ /* | ||
untrack(() => { | ||
focusPath().forEach((elm) => { | ||
const fp = focusPath(); | ||
for (const elm of fp) { | ||
if (isFunc(elm[`on${key}`])) { | ||
return elm[`on${key}`].call(elm, e, elm); | ||
if (elm[`on${key}`].call(elm, e, elm) === true) { | ||
break; | ||
} | ||
} | ||
if (isFunc(elm.onKeyPress)) { | ||
return elm.onKeyPress.call(elm, e, key, elm); | ||
if (elm.onKeyPress.call(elm, e, key, elm) === true) { | ||
break; | ||
} | ||
} | ||
return false; | ||
}); | ||
} | ||
return false; | ||
}); | ||
@@ -84,0 +89,0 @@ } |
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
79776
1717