From 44a5c781672b0b0c9a35dd8ec960c4683ab3509c Mon Sep 17 00:00:00 2001 From: David Capello Date: Fri, 3 Aug 2018 16:02:16 -0300 Subject: [PATCH] Minor change in Timeline::setViewScroll() --- src/app/ui/timeline/timeline.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/ui/timeline/timeline.cpp b/src/app/ui/timeline/timeline.cpp index 0ab9cc3c9..3ae61a027 100644 --- a/src/app/ui/timeline/timeline.cpp +++ b/src/app/ui/timeline/timeline.cpp @@ -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); }