Skip to content

Commit

Permalink
Use correct type (number) for VueDraggable animation attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Dec 5, 2023
1 parent d7dee3a commit f96f2de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/EditMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<VueDraggable
v-model="store.currentView.widgets"
class="flex flex-col items-center w-full px-2 overflow-x-hidden overflow-y-auto grow"
animation="150"
:animation="150"
group="regularWidgetsGroup"
>
<TransitionGroup name="fade">
Expand Down
4 changes: 2 additions & 2 deletions src/components/MiniWidgetContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<VueDraggable
v-model="container.widgets"
:disabled="!allowEditing"
animation="150"
:animation="150"
group="generalGroup"
class="flex items-center w-full h-full gap-2 px-2"
:class="[wrap ? 'flex-wrap' : '', widgetsAlignment]"
Expand Down Expand Up @@ -39,7 +39,7 @@
/>
<VueDraggable
v-model="trashList"
animation="150"
:animation="150"
group="generalGroup"
class="flex flex-wrap items-center justify-center w-full h-full gap-2"
@add="trashList = []"
Expand Down

0 comments on commit f96f2de

Please sign in to comment.