From 03fb39560536061e067a2de81e50d6708240ed58 Mon Sep 17 00:00:00 2001 From: benjamin Date: Wed, 11 Mar 2026 12:08:34 +0100 Subject: [PATCH] optimize drag'n'drop --- .../modules/shows/show/show.component.html | 2 +- .../shows/show/song/song.component.html | 12 ++++- .../shows/show/song/song.component.less | 52 +++++++++++++++++-- .../modules/shows/show/song/song.component.ts | 3 ++ 4 files changed, 64 insertions(+), 5 deletions(-) diff --git a/src/app/modules/shows/show/show.component.html b/src/app/modules/shows/show/show.component.html index e6ab343..ce6deee 100644 --- a/src/app/modules/shows/show/show.component.html +++ b/src/app/modules/shows/show/show.component.html @@ -31,13 +31,13 @@ @if (showSongs && !useSwiper) {
@for (song of orderedShowSongs(show); track trackBy(i, song); let i = $index) {
+ @if (dragHandle && !edit) { + + } {{ iSong.title }} @if (!edit) {
@@ -30,7 +38,9 @@
@if (!edit) {