mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
[Summary] SET Zoom Focus to PlayHead when zooming by the slider in top bar.
This commit is contained in:
parent
4cc5de9836
commit
fa02cb2f6e
1 changed files with 1 additions and 2 deletions
|
|
@ -1886,8 +1886,7 @@ Editor::temporal_zoom_by_slider ()
|
|||
{
|
||||
double value = _temporal_zoom_adjustment.get_value();
|
||||
int64_t spp = (int64_t)(pow (2.0f, (int)value) + 0.001);
|
||||
set_zoom_focus ( ZoomFocusLeft);
|
||||
std::cout << "Editor::temporal_zoom_by_slider (): fader = " << value << "; spp = " << spp << std::endl;
|
||||
set_zoom_focus (ZoomFocusPlayhead);
|
||||
temporal_zoom (spp);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue