From 6f579f0e6f158221b7592aa8cc81c5e2da38b57f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 30 Sep 2026 16:12:35 +0300 Subject: [PATCH] docs(player): correct a comment that described a state the file did not have The note beside the pre-arm list claimed `remove_lane` was off the list "for the same reason" as Crossfade and Dissolve. It is not: the three `ActionId::Remove*Lane` entries are still in that `matches!` block. They are still wrong there -- `remove_lane` now carries its own arm inside its `Some(Ok(()))`, so each of those removals arms twice over -- but taking them off is a wider pass over this list than the previous commit made, and the comment should say that rather than claim a fix that is not there. --- crates/app/src/player/actions.rs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/crates/app/src/player/actions.rs b/crates/app/src/player/actions.rs index fe46ab4..df7f593 100644 --- a/crates/app/src/player/actions.rs +++ b/crates/app/src/player/actions.rs @@ -73,8 +73,16 @@ impl Player { // [`Player::dissolve_selected`]) and the clip-menu row reaches // `dissolve_selected` directly, never through this table, so a // list entry armed the key path and left the menu path armed by - // nothing. `remove_lane` is out of the same list for the same - // reason -- it arms on its own `Ok(())`. + // nothing. + // + // The three `Remove*Lane` entries ARE still here and are still + // wrong in the same way -- `remove_lane` refuses a track that + // holds clips and the last of its kind, and it now carries its + // own arm ([`Player::remove_lane`]) -- but taking them off is + // a wider pass over this list than this change makes, so they + // stay until it does. Until then each of those removals arms + // twice over, which is the lesser fault beside arming once for + // a removal that did not happen. | ActionId::Visualizer ) { self.mark_dirty();