mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +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) {
|
||||
gfx::Rect rc;
|
||||
rc = getLayerHeadersBounds();
|
||||
rc.x += bounds().x;
|
||||
rc.y += bounds().y;
|
||||
rc.offset(origin());
|
||||
invalidateRect(rc);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user