From 1b0466af17853eddabe2fb52f078bff5a1bbd37c Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 31 Mar 2021 19:28:27 -0300 Subject: [PATCH] Fix some bugs drawing the timeline when we scroll it Mainly the range outline outside the frames header. --- src/app/ui/timeline/timeline.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/ui/timeline/timeline.cpp b/src/app/ui/timeline/timeline.cpp index 11f0dfc35..2a8316698 100644 --- a/src/app/ui/timeline/timeline.cpp +++ b/src/app/ui/timeline/timeline.cpp @@ -3785,6 +3785,8 @@ void Timeline::setViewScroll(const gfx::Point& pt) gfx::Rect rc; if (m_tagBands > 0) rc |= getPartBounds(Hit(PART_TAG_BAND)); + if (m_range.enabled()) + rc |= getRangeBounds(m_range).enlarge(outlineWidth()); rc |= getFrameHeadersBounds(); rc |= getCelsBounds(); rc.offset(origin());