Minor tweaks and fixes

This commit is contained in:
Colin Kallemein 2025-01-31 23:11:15 +01:00
parent 4fba3678d6
commit 8e81ce716b
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<template>
<div class="absolute border-0 border-l-2 border-solid border-gray-500 w-1/4 min-w-80 flex flex-col top-0 right-0 z-10 h-dvh bg-gray-800" v-if="isOpen">
<div class="relative z-10 p-2.5 border-solid border-0 border-b border-gray-500 text-right">
<div class="relative z-10 p-2.5 border-solid border-0 border-b border-gray-500">
<h3 class="text-lg text-white">Map objects</h3>
</div>
<div class="overflow-hidden grow relative">

View File

@ -1,6 +1,6 @@
<template>
<div class="absolute border-0 border-l-2 border-solid border-gray-500 w-1/4 min-w-80 flex flex-col top-0 right-0 z-10 h-dvh bg-gray-800" v-if="isOpen">
<div class="relative z-10 p-2.5 border-solid border-0 border-b border-gray-500 text-right">
<div class="relative z-10 p-2.5 border-solid border-0 border-b border-gray-500">
<h3 class="text-lg text-white">Tiles</h3>
</div>
<div class="overflow-hidden grow relative">

View File

@ -142,6 +142,7 @@ function handleClick(tool: string) {
emit('close-lists')
} else if (tool === 'move') {
emit('close-lists')
mapEditor.setTool(tool)
} else {
mapEditor.setTool(tool)
}