Skip to content

Commit 4c3ae25

Browse files
committed
0.3.2
1 parent 7782a87 commit 4c3ae25

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.2] - 2024-08-09
11+
12+
### Fixed
13+
14+
- Predicates not being saved in Custom Animations Menu.
15+
1016
## [0.3.1] - 2024-08-09
1117

1218
### Added
@@ -155,7 +161,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
155161
[0.1.0]: https://github.com/MrVauxs/pf2e-graphics/compare/v0.0.9...v0.1.0
156162
[0.0.9]: https://github.com/MrVauxs/pf2e-graphics/compare/v0.0.8-alpha...v0.0.9
157163

158-
[Unreleased]: https://github.com/MrVauxs/pf2e-graphics/compare/v0.3.1...HEAD
164+
[Unreleased]: https://github.com/MrVauxs/pf2e-graphics/compare/v0.3.2...HEAD
165+
[0.3.2]: https://github.com/MrVauxs/pf2e-graphics/compare/v0.3.1...v0.3.2
159166
[0.3.1]: https://github.com/MrVauxs/pf2e-graphics/compare/v0.3.0...v0.3.1
160167
[0.3.0]: https://github.com/MrVauxs/pf2e-graphics/compare/v0.2.1...v0.3.0
161168
[0.2.1]: https://github.com/MrVauxs/pf2e-graphics/compare/v0.2.0...v0.2.1

src/view/_components/SubAnimationEditor.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
export let animation: Exclude<JSONData[string], string>[number]
77
export let deleteSubAnimation
88
9-
function bindJSON(event: Event, _property: any) {
10-
_property = JSON.parse((event.target as HTMLInputElement).value)
9+
function bindJSON(event: Event, prop: keyof typeof animation) {
10+
animation[prop] = JSON.parse((event.target as HTMLInputElement).value)
1111
}
1212
1313
let open = dev || false
@@ -42,7 +42,7 @@
4242
<input
4343
type='text'
4444
value={JSON.stringify(animation.predicate || [])}
45-
on:change={e => bindJSON(e, animation.predicate)}
45+
on:change={e => bindJSON(e, 'predicate')}
4646
/>
4747
</label>
4848

0 commit comments

Comments
 (0)