forked from noxious/client
npm run format
This commit is contained in:
parent
c1dc600f28
commit
b6b0ccb22d
@ -4,7 +4,6 @@
|
|||||||
<div class="ui-wrapper h-dvh flex flex-col justify-center items-center gap-20 px-10 sm:px-20">
|
<div class="ui-wrapper h-dvh flex flex-col justify-center items-center gap-20 px-10 sm:px-20">
|
||||||
<div class="filler"></div>
|
<div class="filler"></div>
|
||||||
<div class="flex gap-14 w-full max-h-[650px] overflow-x-auto" v-if="!isLoading">
|
<div class="flex gap-14 w-full max-h-[650px] overflow-x-auto" v-if="!isLoading">
|
||||||
|
|
||||||
<!-- CHARACTER LIST -->
|
<!-- CHARACTER LIST -->
|
||||||
<div
|
<div
|
||||||
v-for="character in characters"
|
v-for="character in characters"
|
||||||
|
@ -149,9 +149,12 @@ const createScene = (scene: Phaser.Scene) => {
|
|||||||
/**
|
/**
|
||||||
* Watch for changes in assets and reload them
|
* Watch for changes in assets and reload them
|
||||||
*/
|
*/
|
||||||
watch(() => assetStore.assets, async () => {
|
watch(
|
||||||
|
() => assetStore.assets,
|
||||||
|
async () => {
|
||||||
loadAssets(scene)
|
loadAssets(scene)
|
||||||
})
|
}
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
const loadAssets = (scene: Phaser.Scene) => {
|
const loadAssets = (scene: Phaser.Scene) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user