mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-14 00:40:52 +00:00
Fix some bugs drawing the timeline when we scroll it
Mainly the range outline outside the frames header.
This commit is contained in:
parent
8d6f889e0e
commit
1b0466af17
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user