| 2087 | } |
| 2088 | |
| 2089 | void Timeline::clearSelection() { |
| 2090 | if (selected_ids_.empty() && selection_anchor_id_ == 0) { |
| 2091 | return; |
| 2092 | } |
| 2093 | selected_ids_.clear(); |
| 2094 | selection_anchor_id_ = 0; |
| 2095 | applySelectionHighlight(); |
| 2096 | updateNamePanel(); |
| 2097 | updateMergeButton(); |
| 2098 | } |
| 2099 | |
| 2100 | void Timeline::applySelectionHighlight() { |
| 2101 | for (TimelineBarItem* bar : bar_items_) { |
no test coverage detected