mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
Force gtk rulers to update in lock step with canvas.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4001 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
12ffa28390
commit
8330f2828e
2 changed files with 7 additions and 2 deletions
|
|
@ -4331,7 +4331,7 @@ Editor::set_frames_per_unit (double fpu)
|
|||
void
|
||||
Editor::post_zoom ()
|
||||
{
|
||||
nframes64_t cef=0;
|
||||
nframes64_t cef = 0;
|
||||
/*
|
||||
// convert fpu to frame count
|
||||
|
||||
|
|
|
|||
|
|
@ -800,7 +800,12 @@ Editor::scroll_canvas_horizontally ()
|
|||
cursor_group->move (-x_delta, 0);
|
||||
update_fixed_rulers ();
|
||||
redisplay_tempo (true);
|
||||
|
||||
if (!autoscroll_active) {
|
||||
/* force rulers and canvas to move in lock step */
|
||||
while (gtk_events_pending ()) {
|
||||
gtk_main_iteration ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue