Skip to content

Commit

Permalink
.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Feb 10, 2025
1 parent 110c2fb commit 73c013f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](<https://semver.org/spec/v2.0.

## [Unreleased]

## [1.0.0-alpha.7] - 2025-02-10

### Fixed

- Animation Set Editor breaking when making a new animation and immediately saving without any sections made.

## [1.0.0-alpha.6] - 2025-02-10

### Changed
Expand Down Expand Up @@ -547,7 +553,8 @@ and this project adheres to [Semantic Versioning](<https://semver.org/spec/v2.0.
- Moved internal structure
- Pre-release versions to be semver compliant

[Unreleased]: https://github.com/MrVauxs/pf2e-graphics/compare/v1.0.0-alpha.6...HEAD
[Unreleased]: https://github.com/MrVauxs/pf2e-graphics/compare/v1.0.0-alpha.7...HEAD
[1.0.0-alpha.7]: https://github.com/MrVauxs/pf2e-graphics/compare/v1.0.0-alpha.6...v1.0.0-alpha.7
[1.0.0-alpha.6]: https://github.com/MrVauxs/pf2e-graphics/compare/v1.0.0-alpha.5...v1.0.0-alpha.6
[1.0.0-alpha.5]: https://github.com/MrVauxs/pf2e-graphics/compare/v1.0.0-alpha.4...v1.0.0-alpha.5
[1.0.0-alpha.4]: https://github.com/MrVauxs/pf2e-graphics/compare/v1.0.0-alpha.3...v1.0.0-alpha.4
Expand Down
8 changes: 5 additions & 3 deletions src/view/AnimationDocument/Editor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
function addSection() {
if (typeof animation.animationSets === 'string') return;
animation.animationSets ??= [];
animation.animationSets.push({});
animation = animation;
}
Expand Down Expand Up @@ -107,7 +108,7 @@
Reference: <i class='text-nowrap'>{animation.animationSets}</i>
</section>
{:else}
{#each animation.animationSets as section, index}
{#each animation?.animationSets ?? [] as section, index}
<Section
{readonly}
{section}
Expand Down Expand Up @@ -148,8 +149,9 @@
<span style:opacity='0.5'>
(<a
href='https://github.com/foundryvtt/pf2e/wiki/Quickstart-guide-for-rule-elements#predicates'
target='_blank'>wiki</a
>)
target='_blank'>
wiki
</a>)
</span>
<i class='fa fa-info-circle px-2 ml-auto'></i>
</span>
Expand Down

0 comments on commit 73c013f

Please sign in to comment.