Tiles
diff --git a/src/components/utilities/zoneEditor/partials/Toolbar.vue b/src/components/utilities/zoneEditor/partials/Toolbar.vue
index d307709..e6bb7fa 100644
--- a/src/components/utilities/zoneEditor/partials/Toolbar.vue
+++ b/src/components/utilities/zoneEditor/partials/Toolbar.vue
@@ -104,6 +104,12 @@ let selectEraserOpen = ref(false)
// drawMode
function setDrawMode(value: string) {
+ if (value === 'tile') {
+ zoneEditorStore.isTileListModalShown = true
+ }
+ if (value === 'object') {
+ zoneEditorStore.isObjectListModalShown = true
+ }
zoneEditorStore.setDrawMode(value)
selectPencilOpen.value = false
selectEraserOpen.value = false
diff --git a/src/composables/usePointerHandlers.ts b/src/composables/usePointerHandlers.ts
index 2bd08a6..a13e5f6 100644
--- a/src/composables/usePointerHandlers.ts
+++ b/src/composables/usePointerHandlers.ts
@@ -1,5 +1,5 @@
import config from '@/config'
-import { computed, ref, type Ref, watch } from 'vue'
+import { computed, type Ref, watch } from 'vue'
import { getTile, tileToWorldXY } from '@/services/zone'
import { useGameStore } from '@/stores/game'
import { useZoneEditorStore } from '@/stores/zoneEditor'
diff --git a/src/config.ts b/src/config.ts
index 4a929c1..763f5d6 100644
--- a/src/config.ts
+++ b/src/config.ts
@@ -1,4 +1,4 @@
-const dev: boolean = false
+const dev: boolean = true
export default {
name: 'New Quest',
diff --git a/src/stores/zoneEditor.ts b/src/stores/zoneEditor.ts
index 3adfbf1..d27e493 100644
--- a/src/stores/zoneEditor.ts
+++ b/src/stores/zoneEditor.ts
@@ -15,6 +15,8 @@ export const useZoneEditorStore = defineStore('zoneEditor', {
selectedObject: null as Object | null,
selectedZoneObject: null as ZoneObject | null,
objectDepth: 0,
+ isTileListModalShown: false,
+ isObjectListModalShown: false,
isZoneListModalShown: false,
isCreateZoneModalShown: false,
isSettingsModalShown: false