Minor change in Timeline::setViewScroll()

This commit is contained in:
David Capello 2018-08-03 16:02:16 -03:00
parent 404a163eb6
commit 44a5c78167

View File

@ -3722,8 +3722,7 @@ void Timeline::setViewScroll(const gfx::Point& pt)
if (newScroll.y != oldScroll.y) {
gfx::Rect rc;
rc = getLayerHeadersBounds();
rc.x += bounds().x;
rc.y += bounds().y;
rc.offset(origin());
invalidateRect(rc);
}