| 280 | } |
| 281 | |
| 282 | void LabelTrack::ChangeLabelsOnReverse(double b, double e) |
| 283 | { |
| 284 | for (auto &labelStruct: mLabels) { |
| 285 | if (labelStruct.RegionRelation(b, e, this) == |
| 286 | LabelStruct::SURROUNDS_LABEL) |
| 287 | { |
| 288 | double aux = b + (e - labelStruct.getT1()); |
| 289 | labelStruct.selectedRegion.setTimes( |
| 290 | aux, |
| 291 | e - (labelStruct.getT0() - b)); |
| 292 | } |
| 293 | } |
| 294 | SortLabels(); |
| 295 | } |
| 296 | |
| 297 | void LabelTrack::ScaleLabels(double b, double e, double change) |
| 298 | { |
no test coverage detected