remove global canvas scroll offset, to provide no-scroll-parent == no-scroll behaviour

This commit is contained in:
Paul Davis 2014-06-09 08:39:38 -04:00
parent 8fe593fcca
commit f0c18abf55
3 changed files with 4 additions and 11 deletions

View file

@ -114,7 +114,7 @@ Item::scroll_offset () const
if (_scroll_parent) {
return _scroll_parent->scroll_offset();
}
return _canvas->scroll_offset();
return Duple (0,0);
}
Duple