1
0
forked from noxious/client

Feedback Shilo

the placement of map objects sometimes placed in a tile that the mouse wasnt over. but i didnt try reproducing the issue.
opening map editor doesnt close the gm window (nor show the map editor). not obvious.
side panels like map objects doesnt have a close button. so i was only able to close it by switching to "move" tool.
This commit is contained in:
2025-02-14 02:34:56 +01:00
parent 8bf67ab168
commit bcf0d2832d
4 changed files with 43 additions and 21 deletions

View File

@ -1,5 +1,6 @@
import type { Map, MapObject, PlacedMapObject, UUID } from '@/application/types'
import { ref } from 'vue'
import {useGameStore} from "@/stores/gameStore";
export type TeleportSettings = {
toMapId: string
@ -46,6 +47,8 @@ export function useMapEditorComposable() {
const toggleActive = () => {
if (active.value) reset()
active.value = !active.value
const gameStore = useGameStore()
gameStore.toggleGmPanel()
}
const togglePlacedMapObjectPreview = () => {