feat(selector): improve api

This commit is contained in:
2025-11-17 00:38:40 +01:00
parent b17d7c6034
commit c45e223227
3 changed files with 10 additions and 27 deletions

View File

@@ -73,11 +73,5 @@ const getOpacity = (button?: ButtonType) => {
:opacity="getOpacity('contact')"
/>
<Selector
:x="selectorPosition[0]"
:y="selectorPosition[1]"
:width="selectorPosition[2]"
:height="selectorPosition[3]"
:opacity="getOpacity()"
/>
<Selector :rect="selectorPosition" :opacity="getOpacity()" />
</template>