mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-26 00:17:49 +01:00
Don't update rulers twice in idle_visual_changer, temporarily remove parts of 4001
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4003 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
686b642dc0
commit
dc2ad95bfb
2 changed files with 0 additions and 14 deletions
|
|
@ -4415,15 +4415,7 @@ Editor::idle_visual_changer ()
|
|||
}
|
||||
|
||||
if (p & VisualChange::TimeOrigin) {
|
||||
|
||||
nframes64_t current_time_origin = (nframes64_t) floor (horizontal_adjustment.get_value() * frames_per_unit);
|
||||
|
||||
horizontal_adjustment.set_value (pending_visual_change.time_origin / frames_per_unit);
|
||||
|
||||
if (current_time_origin != pending_visual_change.time_origin) {
|
||||
update_fixed_rulers();
|
||||
redisplay_tempo (true);
|
||||
}
|
||||
}
|
||||
|
||||
//cerr << "Editor::idle_visual_changer () called ha v:l:u:ps:fpu = " << horizontal_adjustment.get_value() << ":" << horizontal_adjustment.get_lower() << ":" << horizontal_adjustment.get_upper() << ":" << horizontal_adjustment.get_page_size() << ":" << frames_per_unit << endl;//DEBUG
|
||||
|
|
|
|||
|
|
@ -800,12 +800,6 @@ 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