Merge remote-tracking branch 'origin/feature/#321'

This commit is contained in:
Dennis Postma 2025-01-31 23:02:01 +01:00
commit 2c1db56cc4

View File

@ -109,7 +109,7 @@ defineExpose({ tileListShown, mapObjectListShown })
// drawMode
function setDrawMode(value: string) {
if (mapEditor.tool.value === 'paint' || mapEditor.tool.value === 'pencil') {
if (mapEditor.tool.value === 'paint' || mapEditor.tool.value === 'pencil' || mapEditor.tool.value === 'eraser') {
emit('close-lists')
if (value === 'tile') emit('open-tile-list')
if (value === 'map_object') emit('open-map-object-list')