editor: Implement drag and drop where it makes sense

This commit is contained in:
Elias Projahn 2025-03-01 15:52:59 +01:00
parent a13e406e99
commit e47b7c2006
31 changed files with 888 additions and 87 deletions

View file

@ -9,10 +9,18 @@ template $MusicusTracksEditorTrackRow: Adw.ActionRow {
[prefix]
Gtk.Box select_parts_box {
Gtk.Image {
icon-name: "document-edit-symbolic";
icon-name: "list-drag-handle-symbolic";
styles [
"drag-handle",
]
}
}
Gtk.Image edit_image {
icon-name: "document-edit-symbolic";
}
Gtk.Button reset_button {
icon-name: "edit-clear-symbolic";
tooltip-text: _("Clear selected work parts");
@ -21,7 +29,7 @@ template $MusicusTracksEditorTrackRow: Adw.ActionRow {
clicked => $reset() swapped;
styles [
"flat"
"flat",
]
}
@ -32,7 +40,7 @@ template $MusicusTracksEditorTrackRow: Adw.ActionRow {
clicked => $remove() swapped;
styles [
"flat"
"flat",
]
}
}