Fix some bugs drawing the timeline when we scroll it

Mainly the range outline outside the frames header.
This commit is contained in:
David Capello 2021-03-31 19:28:27 -03:00
parent 8d6f889e0e
commit 1b0466af17

View File

@ -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());