Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6160a2e commit e8a94c2Copy full SHA for e8a94c2
libs/soba/misc/src/trail-texture/inject-trail-texture.ts
@@ -9,8 +9,7 @@ export function injectNgtsTrailTexture(
9
) {
10
injector = assertInjector(injectNgtsTrailTexture, injector);
11
return runInInjectionContext(injector, () => {
12
- const config = computed(() => trailConfigFn() || {});
13
- const trail = computed(() => new TrailTexture(config()));
+ const trail = computed(() => new TrailTexture(trailConfigFn() || {}));
14
const texture = computed(() => trail().texture);
15
16
injectBeforeRender(({ delta }) => {
0 commit comments