@lightningjs/blits
Advanced tools
Comparing version 1.13.0 to 1.13.1
# Changelog | ||
## v1.13.1 | ||
_9 dec 2024_ | ||
- Fixed setting of correct color when turning off rtt on an element | ||
- Added check for txManager in reactivity | ||
- Fixed reference to correct `this`-scope in router before hook | ||
## v1.13.0 | ||
@@ -4,0 +12,0 @@ |
{ | ||
"name": "@lightningjs/blits", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"description": "Blits: The Lightning 3 App Development Framework", | ||
@@ -5,0 +5,0 @@ "bin": "bin/index.js", |
@@ -254,4 +254,4 @@ /* | ||
this.props['rtt'] = v | ||
if (v === true && this.raw['color'] === undefined) { | ||
this.props['color'] = 0xffffffff | ||
if (this.raw['color'] === undefined) { | ||
this.props['color'] = v === true ? 0xffffffff : 0x00000000 | ||
} | ||
@@ -258,0 +258,0 @@ }, |
@@ -18,3 +18,3 @@ /* | ||
import { ImageTexture } from '@lightningjs/renderer' | ||
import { ImageTexture, Texture } from '@lightningjs/renderer' | ||
import { track, trigger, pauseTracking, resumeTracking } from './effect.js' | ||
@@ -39,2 +39,3 @@ import symbols from '../symbols.js' | ||
if (original.constructor.name === ImageTexture.name) return original | ||
if (original.txManager !== undefined) return original | ||
} | ||
@@ -41,0 +42,0 @@ |
@@ -122,3 +122,3 @@ /* | ||
if (route.hooks.before) { | ||
beforeHookOutput = await route.hooks.before(route, previousRoute) | ||
beforeHookOutput = await route.hooks.before.call(this.parent, route, previousRoute) | ||
if (isString(beforeHookOutput)) { | ||
@@ -125,0 +125,0 @@ currentRoute = previousRoute |
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
632374
13124