Skip to content

Commit

Permalink
fix(material-splitter): avoid toggle on title click
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehue committed Mar 27, 2024
1 parent b407f1a commit 255ed2d
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions src/components/material-splitter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,13 @@
</div>
<NDivider class="!m-0"></NDivider>
<div class="flex flex-col w-full">
<NCheckbox
v-model:checked="data.isCroppingInputEnabled"
>
<div class="flex items-center gap-2">
<NCheckbox
v-model:checked="data.isCroppingInputEnabled"
>
</NCheckbox>
Crop Input
</NCheckbox>
</div>
<div class="flex flex-col gap-1">
<NInputNumber
v-model:value="cropModel.x.value"
Expand Down Expand Up @@ -158,11 +160,13 @@
</div>
<NDivider class="!m-0"></NDivider>
<div class="flex flex-col w-full">
<NCheckbox
v-model:checked="data.isResizingOutputsEnabled"
>
<div class="flex items-center gap-2">
<NCheckbox
v-model:checked="data.isResizingOutputsEnabled"
>
</NCheckbox>
Resize Split Outputs
</NCheckbox>
</div>
<div class="flex flex-col gap-1">
<NInputNumber
v-model:value="data.resizeOutput.width"
Expand Down

0 comments on commit 255ed2d

Please sign in to comment.