(false)
@@ -69,14 +69,17 @@ function updateValue(event: Event) {
mapEditor.updateProperty(ev.name as 'name' | 'width' | 'height' | 'pvp' | 'mapEffects', ev.value)
}
-watch(() => mapEditor.currentMap.value, (map) => {
- if (!map) return
- name.value = map.name
- width.value = map.width
- height.value = map.height
- pvp.value = map.pvp
- mapEffects.value = map.mapEffects
-})
+watch(
+ () => mapEditor.currentMap.value,
+ (map) => {
+ if (!map) return
+ name.value = map.name
+ width.value = map.width
+ height.value = map.height
+ pvp.value = map.pvp
+ mapEffects.value = map.mapEffects
+ }
+)
const addEffect = () => {
mapEffects.value.push({
@@ -92,5 +95,4 @@ const removeEffect = (index: number) => {
mapEffects.value.splice(index, 1)
mapEditor.updateProperty('mapEffects', mapEffects.value)
}
-
diff --git a/src/components/gameMaster/mapEditor/partials/TileList.vue b/src/components/gameMaster/mapEditor/partials/TileList.vue
index 1ef5320..7458a63 100644
--- a/src/components/gameMaster/mapEditor/partials/TileList.vue
+++ b/src/components/gameMaster/mapEditor/partials/TileList.vue
@@ -101,7 +101,7 @@ const modalRef = useTemplateRef('modalRef')
defineExpose({
open: () => modalRef.value?.open(),
close: () => modalRef.value?.close(),
- getModal: () => modalRef.value,
+ getModal: () => modalRef.value
})
const uniqueTags = computed(() => {
diff --git a/src/components/gameMaster/mapEditor/partials/Toolbar.vue b/src/components/gameMaster/mapEditor/partials/Toolbar.vue
index fbb49a8..8a92fca 100644
--- a/src/components/gameMaster/mapEditor/partials/Toolbar.vue
+++ b/src/components/gameMaster/mapEditor/partials/Toolbar.vue
@@ -73,7 +73,7 @@
-
+
diff --git a/src/components/login/LoginForm.vue b/src/components/login/LoginForm.vue
index 982fd55..53cb6f4 100644
--- a/src/components/login/LoginForm.vue
+++ b/src/components/login/LoginForm.vue
@@ -26,7 +26,7 @@