Implemented tap vs hold drawing setting

This commit is contained in:
2025-01-28 13:52:15 -06:00
parent 85537840ab
commit ba90982e35
4 changed files with 38 additions and 8 deletions

View File

@ -12,8 +12,7 @@
@open-maps="mapModal?.open"
@open-settings="mapSettingsModal?.open"
@close-editor="mapEditor.toggleActive"
@close-lists="tileModal?.close"
@closeLists="objectModal?.close"
@close-lists="closeLists"
@open-tile-list="tileModal?.open"
@open-map-object-list="objectModal?.open"
/>
@ -114,6 +113,11 @@ function save() {
})
}
function closeLists() {
tileModal.value?.close()
objectModal.value?.close()
}
function clear() {
if (!mapEditor.currentMap.value) return