From 9298f37b38591159e0d37a0180238d3ed8b11aa1 Mon Sep 17 00:00:00 2001 From: quadbyte Date: Fri, 15 Aug 2025 15:51:11 -0400 Subject: [PATCH] LinearSpectrum: minimum 1px height --- Modules/Audio/LinearSpectrum.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Audio/LinearSpectrum.qml b/Modules/Audio/LinearSpectrum.qml index 116dd7e..93f8e41 100644 --- a/Modules/Audio/LinearSpectrum.qml +++ b/Modules/Audio/LinearSpectrum.qml @@ -21,7 +21,7 @@ Item { antialiasing: true width: xScale * 0.5 - height: root.height * amp + height: Math.max(1, root.height * amp) x: index * xScale y: root.height - height } @@ -38,7 +38,7 @@ Item { antialiasing: true width: xScale * 0.5 - height: root.height * amp + height: Math.max(1, root.height * amp) x: (values.length + index) * xScale y: root.height - height }