forked from noxious/client
#102 - Various zone editor UX improvements and bug fixes
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user