mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-17 07:10:36 +00:00
Minor change in Timeline::setViewScroll()
This commit is contained in:
parent
404a163eb6
commit
44a5c78167
@ -3722,8 +3722,7 @@ void Timeline::setViewScroll(const gfx::Point& pt)
|
|||||||
if (newScroll.y != oldScroll.y) {
|
if (newScroll.y != oldScroll.y) {
|
||||||
gfx::Rect rc;
|
gfx::Rect rc;
|
||||||
rc = getLayerHeadersBounds();
|
rc = getLayerHeadersBounds();
|
||||||
rc.x += bounds().x;
|
rc.offset(origin());
|
||||||
rc.y += bounds().y;
|
|
||||||
invalidateRect(rc);
|
invalidateRect(rc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user