diff options
Diffstat (limited to 'Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp')
-rw-r--r-- | Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp b/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp index 0add1963f4..0eabca66bd 100644 --- a/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp +++ b/Userland/Applications/SoundPlayer/SoundPlayerWidgetAdvancedView.cpp @@ -220,7 +220,9 @@ void SoundPlayerWidgetAdvancedView::sound_buffer_played(RefPtr<Audio::Buffer> bu { m_visualization->set_buffer(buffer); m_visualization->set_samplerate(sample_rate); - m_playback_progress_slider->set_value(samples_played); + // If the user is currently dragging the slider, don't interfere. + if (!m_playback_progress_slider->mouse_is_down()) + m_playback_progress_slider->set_value(samples_played); } void SoundPlayerWidgetAdvancedView::volume_changed(double volume) |