mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-27 00:47:43 +01:00
Force gtk ruler update slightly earlier.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4149 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
45b4721be3
commit
1c54982887
1 changed files with 9 additions and 11 deletions
|
|
@ -839,17 +839,6 @@ Editor::scroll_canvas_horizontally ()
|
|||
canvas_scroll_to (time_origin);
|
||||
}
|
||||
|
||||
/* horizontal scrolling only */
|
||||
double x1, x2, y1, y2, x_delta;
|
||||
|
||||
_master_group->get_bounds(x1, y1, x2, y2);
|
||||
x_delta = x1 + horizontal_adjustment.get_value();
|
||||
|
||||
_master_group->move (-x_delta, 0);
|
||||
timebar_group->move (-x_delta, 0);
|
||||
time_line_group->move (-x_delta, 0);
|
||||
cursor_group->move (-x_delta, 0);
|
||||
|
||||
update_fixed_rulers ();
|
||||
redisplay_tempo (true);
|
||||
|
||||
|
|
@ -861,7 +850,16 @@ Editor::scroll_canvas_horizontally ()
|
|||
}
|
||||
}
|
||||
#endif
|
||||
/* horizontal scrolling only */
|
||||
double x1, x2, y1, y2, x_delta;
|
||||
|
||||
_master_group->get_bounds(x1, y1, x2, y2);
|
||||
x_delta = x1 + horizontal_adjustment.get_value();
|
||||
|
||||
_master_group->move (-x_delta, 0);
|
||||
timebar_group->move (-x_delta, 0);
|
||||
time_line_group->move (-x_delta, 0);
|
||||
cursor_group->move (-x_delta, 0);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue