diff --git a/app/components/Box.vue b/app/components/Box.vue index 033160d..e36b8c2 100644 --- a/app/components/Box.vue +++ b/app/components/Box.vue @@ -9,7 +9,7 @@
-
  • {{ track.order }}.

    @@ -19,7 +19,7 @@
    {{ track.artist.name }}

    -
  • + -->
    diff --git a/app/components/Bucket.vue b/app/components/Bucket.vue index e468658..9997b72 100644 --- a/app/components/Bucket.vue +++ b/app/components/Bucket.vue @@ -60,6 +60,8 @@ onMounted(() => { // Gestion du drag and drop desktop const handleDragStart = (event: { item: HTMLElement }) => { drag.value = true + // Émettre un événement personnalisé pour indiquer qu'un glisser a commencé depuis le bucket + document.dispatchEvent(new CustomEvent('bucket-drag-start')) } const handleDragEnd = (event: { item: HTMLElement; newIndex: number; oldIndex: number }) => { diff --git a/app/components/Platine.vue b/app/components/Platine.vue index 92bb84c..d69cf0e 100644 --- a/app/components/Platine.vue +++ b/app/components/Platine.vue @@ -6,6 +6,8 @@
    +
    @@ -13,14 +15,14 @@
    -
    - {{ platineStore.currentTrack?.title }} -
    - {{ platineStore.currentTrack?.artist.name }} -
    +
    + {{ platineStore.currentTrack?.title }} +
    + {{ platineStore.currentTrack?.artist?.name }} +
    diff --git a/app/components/deck/Playlist.vue b/app/components/deck/Playlist.vue index fe1dade..8d36e7a 100644 --- a/app/components/deck/Playlist.vue +++ b/app/components/deck/Playlist.vue @@ -10,7 +10,8 @@ -
    +
    @@ -18,7 +19,7 @@