mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
implement and adopt new conventions for AudioClock use
The class now has two separate methods for setting a duration or a point value. They MUST be used appropriately, because their behavior is different. When ::set_duration() is used in timecode mode, an extent (inclusive-end length) is shown rather than a length. Some objects, such as the TimeInfoBox, now deliberately shown an inclusive end for their "end" clock, but this not universally followed, pending more feedback from users and investigating of conventions in other DAWs.
This commit is contained in:
parent
1ce17c1903
commit
45e21de209
22 changed files with 189 additions and 199 deletions
|
|
@ -1310,7 +1310,7 @@ Editor::marker_menu_select_all_selectables_using_range ()
|
|||
bool is_start;
|
||||
|
||||
if (((l = find_location_from_marker (marker, is_start)) != 0) && (l->end() > l->start())) {
|
||||
select_all_within (l->start(), l->end().decrement(), 0, DBL_MAX, track_views, Selection::Set, false);
|
||||
select_all_within (l->start(), l->end(), 0, DBL_MAX, track_views, Selection::Set, false);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue