Skip to content

Commit

Permalink
fix blazing wave
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Aug 12, 2024
1 parent 13777c2 commit 41a089e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
> Dictionary
> (P) - A premium version of that animation is available.
## [Unreleased]
## [0.6.1] - Unreleased

### Fixed

- Line and Cone Templates not animating properly.
- Blazing Wave animation.

## [0.6.0] - 2024-08-12

Expand Down
2 changes: 1 addition & 1 deletion animations/animations.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
]
}
],
"item:slug:blazing-wave": [
"origin:item:slug:blazing-wave": [
{
"trigger": "place-template",
"preset": "template",
Expand Down
2 changes: 1 addition & 1 deletion src/storage/presets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ export const presets = {
.file(file)
.attachTo(target, helpers.parseOffsetEmbedded(options?.attachTo, target, target))

if (target.type === 'line' || target.type === 'cone')
if (target.type === 'line' || target.type === 'cone' || target.t === 'line' || target.t === 'cone')

Check failure on line 419 in src/storage/presets.ts

View workflow job for this annotation

GitHub Actions / build

This comparison appears to be unintentional because the types 'MeasuredTemplateType' and '"line"' have no overlap.
section.stretchTo(target, helpers.parseOffsetEmbedded(options?.stretchTo, target, target))

helpers.genericSequencerFunctions(section, item, target, options)
Expand Down

0 comments on commit 41a089e

Please sign in to comment.