Skip to content

Commit

Permalink
change imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MrVauxs committed Aug 5, 2024
1 parent 53d004a commit 27af05c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
13 changes: 0 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"svelte": "^4.2.18",
"svelte-check": "^3.8.0",
"svelte-preprocess": "^6.0.1",
"svelte-writable-derived": "^3.1.1",
"tailwindcss": "^3.4.1",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
Expand Down
5 changes: 2 additions & 3 deletions src/view/ActorAnimations/submenus/actor-animations.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script lang='ts'>
import type { TJSDocument } from '@typhonjs-fvtt/runtime/svelte/store/fvtt/document'
import { writableDerived } from '@typhonjs-fvtt/runtime/svelte/store/writable-derived'
import type { moduleFlags } from 'src/extensions'
import { AnimCore } from 'src/storage/AnimCore'
import { devMessage, log } from 'src/utils'
import AnimationCreator from 'src/view/AnimationCreator.svelte'
import { getContext } from 'svelte'
import writableDerived from 'svelte-writable-derived'
import type { Writable } from 'svelte/store'
export let doc: TJSDocument<ActorPF2e>
Expand Down Expand Up @@ -37,8 +37,7 @@
function deleteAnimation(key: string) {
if (!$flag?.customAnimations) throw log('Something went wrong, check with Vauxs!')
delete $flag.customAnimations[key]
// eslint-disable-next-line no-self-assign
$flag.customAnimations = $flag.customAnimations
flag.set($flag)
}
$: devMessage('Actor Animations Tab', $flag.customAnimations, $showNewAnimation)
Expand Down

0 comments on commit 27af05c

Please sign in to comment.