Map editor teleport enhancements

This commit is contained in:
2025-02-16 21:18:06 +01:00
parent af5a97f66d
commit bfb2bcb939
6 changed files with 12 additions and 16 deletions

View File

@ -2,7 +2,7 @@ import type { MapObject, Map as MapT } from '@/application/types'
import { defineStore } from 'pinia'
export type TeleportSettings = {
toMapId: string
toMap: string
toPositionX: number
toPositionY: number
toRotation: number
@ -18,7 +18,7 @@ export const useMapEditorStore = defineStore('mapEditor', {
selectedMapObject: null as MapObject | null,
shouldClearTiles: false,
teleportSettings: {
toMapId: '',
toMap: '',
toPositionX: 0,
toPositionY: 0,
toRotation: 0