set default value

This commit is contained in:
Pete Matsyburka
2025-08-23 20:11:10 +03:00
parent 4685bac4b3
commit 719c1786f1
6 changed files with 117 additions and 37 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<template>
<div
class="relative select-none mb-4 before:border before:rounded before:top-0 before:bottom-0 before:left-0 before:right-0 before:absolute"
:class="{ 'cursor-crosshair': allowDraw, 'touch-none': !!drawField }"
:class="{ 'cursor-crosshair': allowDraw && editable, 'touch-none': !!drawField }"
style="container-type: size"
:style="{ aspectRatio: `${width} / ${height}`}"
>