mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
Add option to Zoom to Selection on double click
Currently implemented for Region and Range selections. The new option is false/off by default to maintain existing behaviour. I'm not sure it should require another option, perhaps Zoom to Selection should be the default and accessing the region properties dialog can be via Modifier+double click, but further changes can be made on user feedback etc. Related: #7112
This commit is contained in:
parent
89623923bd
commit
0eff7d4a0c
5 changed files with 29 additions and 4 deletions
|
|
@ -2142,6 +2142,16 @@ Editor::note_edit_done (int r, EditNoteDialog* d)
|
|||
commit_reversible_command();
|
||||
}
|
||||
|
||||
void
|
||||
Editor::edit_region (RegionView* rv)
|
||||
{
|
||||
if (UIConfiguration::instance().get_use_double_click_to_zoom_to_selection()) {
|
||||
temporal_zoom_selection (ZoomAxis::Both);
|
||||
} else {
|
||||
rv->show_region_editor ();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Editor::visible_order_range (int* low, int* high) const
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue