From d01da4a0b25022f264fd62da68391f9ce071ec07 Mon Sep 17 00:00:00 2001 From: 409 Date: Sun, 6 Oct 2024 04:26:21 +0200 Subject: [PATCH] fix(instructions): `RemoveSinkInput` stay on selection --- src/mixer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mixer.rs b/src/mixer.rs index 39abd3c..b665999 100644 --- a/src/mixer.rs +++ b/src/mixer.rs @@ -262,7 +262,7 @@ impl Mixer { if self.sink_inputs.remove(&sink_index).is_some() { if sink_index == current_key - || removed_sink_input_index <= selected_index + || removed_sink_input_index < selected_index { self.select_previous(); }