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:
@ -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 = () => {
|
||||
|
Reference in New Issue
Block a user