Small tweak to previous commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@10076 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2011-09-14 14:00:03 +00:00
parent 74796c7a53
commit f4f5706265

View File

@@ -661,7 +661,7 @@ EditorSummary::set_editor_x (pair<double, double> x)
}
if (x.second < 0) {
x.second = 1;
x.second = x.first + 1;
}
_editor->reset_x_origin (x.first / _x_scale + _start);