1
0
forked from noxious/client

#102 - Various zone editor UX improvements and bug fixes

This commit is contained in:
2024-09-14 17:29:41 +02:00
parent b05a5920ba
commit 4629dafece
6 changed files with 27 additions and 21 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="flex flex-col items-center p-5 fixed bottom-6 mx-6 right-0">
<div class="flex flex-col items-center py-5 px-3 fixed bottom-14 right-0">
<div class="self-end mt-2 flex gap-2">
<div>
<label class="mb-1.5 font-titles block text-sm text-gray-700 hidden" for="depth">Depth</label>
@ -33,7 +33,7 @@ watch(
)
const handleDepthInput = () => {
const depth = parseFloat(objectDepth.value)
const depth = parseFloat(objectDepth.value.toString())
if (!isNaN(depth)) {
emit('update_depth', depth)
}