mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-01 03:17:39 +01:00
Revert rev 4149 (caused double draws on zoom on X11).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4159 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
1a839fd66d
commit
e6440d061f
1 changed files with 11 additions and 9 deletions
|
|
@ -839,6 +839,17 @@ 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);
|
||||
|
||||
|
|
@ -850,16 +861,7 @@ 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