Minor improvements

This commit is contained in:
2024-09-20 20:34:16 +02:00
parent 1a7546ba4f
commit 32cc613333
8 changed files with 98 additions and 99 deletions

View File

@ -315,9 +315,7 @@ watch(
)
const setSelectedZoneObject = (zoneObject: ZoneObject | null) => {
console.log('setSelectedZoneObject', zoneObject)
if (!zoneObject) return
// Check if tool is move or return
if (zoneEditorStore.tool !== 'move') return
zoneEditorStore.setSelectedZoneObject(zoneObject)
}