From c0081e36933039cf0b00204f90caa5513b37bebe Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Wed, 10 Dec 2025 21:22:04 -0500 Subject: [PATCH] Allow drop anywhere in merge list --- main.go | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 51fd71d..bfd15be 100644 --- a/main.go +++ b/main.go @@ -1788,7 +1788,17 @@ func (s *appState) showMergeView() { left := container.NewVBox( widget.NewLabelWithStyle("Clips to Merge", fyne.TextAlignLeading, fyne.TextStyle{Bold: true}), container.NewHBox(addBtn, clearBtn), - listScroll, + ui.NewDroppable(listScroll, func(items []fyne.URI) { + var paths []string + for _, uri := range items { + if uri.Scheme() == "file" { + paths = append(paths, uri.Path()) + } + } + if len(paths) > 0 { + addFiles(paths) + } + }), ) right := container.NewVBox(