@lightningjs/solid
Advanced tools
Comparing version 0.11.1 to 0.11.2
@@ -566,3 +566,3 @@ import { createSignal, mergeProps as mergeProps$1, createRoot, createRenderEffect, createMemo, createComponent as createComponent$1, untrack, createEffect } from 'solid-js'; | ||
if (this.lng) { | ||
if (config.animationsEnabled && this.transition) { | ||
if (config.animationsEnabled && this.transition && (this.transition === true || this.transition[name])) { | ||
const animationSettings = this.transition === true || this.transition[name] === true ? undefined : this.transition[name]; | ||
@@ -569,0 +569,0 @@ return this.animate({ |
@@ -221,3 +221,5 @@ /* | ||
if (this.lng) { | ||
if (config.animationsEnabled && this.transition) { | ||
if (config.animationsEnabled && | ||
this.transition && | ||
(this.transition === true || this.transition[name])) { | ||
const animationSettings = this.transition === true || this.transition[name] === true | ||
@@ -224,0 +226,0 @@ ? undefined |
{ | ||
"name": "@lightningjs/solid", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"description": "Lightning renderer for solid universal", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -290,3 +290,7 @@ /* | ||
if (this.lng) { | ||
if (config.animationsEnabled && this.transition) { | ||
if ( | ||
config.animationsEnabled && | ||
this.transition && | ||
(this.transition === true || this.transition[name]) | ||
) { | ||
const animationSettings = | ||
@@ -293,0 +297,0 @@ this.transition === true || this.transition[name] === true |
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
285382
4428