This commit is contained in:
Dennis Postma 2025-02-09 22:36:55 +01:00
parent c228af7bb6
commit c56c2796c4
3 changed files with 3 additions and 11 deletions

View File

@ -20,9 +20,9 @@
<script setup lang="ts">
import AssetManager from '@/components/gameMaster/assetManager/AssetManager.vue'
import Modal from '@/components/utilities/Modal.vue'
import { useMapEditorComposable } from '@/composables/useMapEditorComposable'
import { useGameStore } from '@/stores/gameStore'
import { ref } from 'vue'
import { useMapEditorComposable } from '@/composables/useMapEditorComposable'
const mapEditor = useMapEditorComposable()
const gameStore = useGameStore()

View File

@ -112,7 +112,7 @@ const isMapEditorSettingsModalOpen = ref(false)
const selectPencilOpen = ref(false)
const selectEraserOpen = ref(false)
const checkboxValue = ref<Boolean>(false)
const listOpen = computed(() => mapEditor.tool.value ==='pencil' && (mapEditor.drawMode.value === 'tile' || mapEditor.drawMode.value === 'map_object'))
const listOpen = computed(() => mapEditor.tool.value === 'pencil' && (mapEditor.drawMode.value === 'tile' || mapEditor.drawMode.value === 'map_object'))
// drawMode
function setDrawMode(value: string) {

View File

@ -1,15 +1,7 @@
<template></template>
<script setup lang="ts">
import {
CharacterHairStorage,
CharacterTypeStorage,
MapObjectStorage,
MapStorage,
SoundStorage,
SpriteStorage,
TileStorage
} from '@/storage/storages'
import { CharacterHairStorage, CharacterTypeStorage, MapObjectStorage, MapStorage, SoundStorage, SpriteStorage, TileStorage } from '@/storage/storages'
import { TextureStorage } from '@/storage/textureStorage'
import { onMounted, onUnmounted } from 'vue'