From 765a9d5b2ebbaf697be6a9ed2491ddbb87fba193 Mon Sep 17 00:00:00 2001 From: Jaret Burkett Date: Fri, 10 Apr 2026 10:07:45 -0600 Subject: [PATCH] Add a download button to music samples in in the gear menu --- ui/src/components/SampleImageViewer.tsx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ui/src/components/SampleImageViewer.tsx b/ui/src/components/SampleImageViewer.tsx index ce29e381..ef5f2ed1 100644 --- a/ui/src/components/SampleImageViewer.tsx +++ b/ui/src/components/SampleImageViewer.tsx @@ -298,11 +298,22 @@ export default function SampleImageViewer({ + {imgPath && isAudio(imgPath) && ( + + + Download + + + )}
{ let message = `Are you sure you want to delete this sample? This action cannot be undone.`; openConfirm({