Various zone editor UX improvements

This commit is contained in:
2024-07-11 18:28:38 +02:00
parent f830bf875e
commit ea9771e3ec
5 changed files with 27 additions and 1 deletions

View File

@ -114,6 +114,10 @@ function drawTile(pointer: Phaser.Input.Pointer) {
return
}
if (pointer.event.altKey) {
return
}
const px = scene.cameras.main.worldView.x + pointer.x
const py = scene.cameras.main.worldView.y + pointer.y

View File

@ -1,5 +1,5 @@
<template>
<Modal :is-modal-open="true" @modal:close="() => zoneEditorStore.toggleSettingsModal()" :modal-width="300" :modal-height="400" :is-resizable="false">
<Modal :is-modal-open="true" @modal:close="() => zoneEditorStore.toggleSettingsModal()" :modal-width="300" :modal-height="350" :is-resizable="false">
<template #modalHeader>
<h3 class="m-0 font-medium shrink-0">Zone settings</h3>
</template>