| 267 | #endif |
| 268 | |
| 269 | void LabelTrack::ShiftLabelsOnInsert(double length, double pt) |
| 270 | { |
| 271 | for (auto &labelStruct: mLabels) { |
| 272 | LabelStruct::TimeRelations relation = |
| 273 | labelStruct.RegionRelation(pt, pt, this); |
| 274 | |
| 275 | if (relation == LabelStruct::BEFORE_LABEL) |
| 276 | labelStruct.selectedRegion.move(length); |
| 277 | else if (relation == LabelStruct::WITHIN_LABEL) |
| 278 | labelStruct.selectedRegion.moveT1(length); |
| 279 | } |
| 280 | } |
| 281 | |
| 282 | void LabelTrack::ChangeLabelsOnReverse(double b, double e) |
| 283 | { |
no test coverage detected