Correct a comment that described a state the file did not have
Browse files at this commit6f579f0e6f158221b7592aa8cc81c5e2da38b57fParent: 7285b61- docs
- correct a comment that described a state the file did not have
1 changed file +10 -2
crates/app/src/player/actions.rsmodified+10 -2
| @@ -73,8 +73,16 @@ impl Player { | |||
| 73 | // [`Player::dissolve_selected`]) and the clip-menu row reaches | 73 | // [`Player::dissolve_selected`]) and the clip-menu row reaches |
| 74 | // `dissolve_selected` directly, never through this table, so a | 74 | // `dissolve_selected` directly, never through this table, so a |
| 75 | // list entry armed the key path and left the menu path armed by | 75 | // list entry armed the key path and left the menu path armed by |
| 76 | - // nothing. `remove_lane` is out of the same list for the same | 76 | + // nothing. |
| 77 | - // reason -- it arms on its own `Ok(())`. | 77 | + // |
| 78 | + // The three `Remove*Lane` entries ARE still here and are still | ||
| 79 | + // wrong in the same way -- `remove_lane` refuses a track that | ||
| 80 | + // holds clips and the last of its kind, and it now carries its | ||
| 81 | + // own arm ([`Player::remove_lane`]) -- but taking them off is | ||
| 82 | + // a wider pass over this list than this change makes, so they | ||
| 83 | + // stay until it does. Until then each of those removals arms | ||
| 84 | + // twice over, which is the lesser fault beside arming once for | ||
| 85 | + // a removal that did not happen. | ||
| 78 | | ActionId::Visualizer | 86 | | ActionId::Visualizer |
| 79 | ) { | 87 | ) { |
| 80 | self.mark_dirty(); | 88 | self.mark_dirty(); |