From dc91c855ef455487895f0ec190dd89554434df46 Mon Sep 17 00:00:00 2001 From: gramps Date: Mon, 17 Aug 2026 17:36:00 -0700 Subject: [PATCH] Fix UI polish: scrollbar deselect, web source inline buttons, countdown in Sources, volume click-to-position, meter decay MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Elements scrollbar no longer deselects element on click (check ScrollViewer, not StackPanel) - Web source: URI + check/revert buttons merged into single DockPanel row, consistent order (✓ rightmost) - Countdown timer moved from Elements panel to inline in source list row, range clamped to 1-30 min - Volume slider click-to-position restored: e.Handled prevents IncreaseLarge from overriding position, Thumb drag still works - Desktop audio meter: asymmetric smoothing (attack 0.2, decay 0.08) for faster response to silence - 207 tests passing, 0 warnings --- MainWindow.xaml | 66 ++++++++++++++----------------- MainWindow.xaml.cs | 21 ++++++++-- Models/Source.cs | 2 +- Services/Audio/AudioLevelMeter.cs | 18 +++++++-- Services/Audio/AudioMixer.cs | 2 +- TASKS.md | 4 +- 6 files changed, 65 insertions(+), 48 deletions(-) diff --git a/MainWindow.xaml b/MainWindow.xaml index ce0d36f..db7ab4f 100644 --- a/MainWindow.xaml +++ b/MainWindow.xaml @@ -278,6 +278,10 @@ + + + + @@ -297,7 +301,7 @@ -