Bug fixes for updating zone width and height (realtime now), removed redundant code from camera composable, improved zone editor tool modal logics.

This commit is contained in:
2024-09-14 21:40:42 +02:00
parent 717fb1646c
commit bb08aaa9bc
9 changed files with 98 additions and 85 deletions

View File

@ -27,7 +27,7 @@
<div v-if="zoneEditorStore.active">
<Game :config="gameConfig" @create="createGame">
<Scene name="main" @preload="preloadScene" @create="createScene">
<ZoneEditor v-if="isLoaded" :key="zoneEditorStore.zone?.id ?? 0" />
<ZoneEditor v-if="isLoaded" :key="JSON.stringify(zoneEditorStore.zone)" />
</Scene>
</Game>
</div>