mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
remove global canvas scroll offset, to provide no-scroll-parent == no-scroll behaviour
This commit is contained in:
parent
8fe593fcca
commit
f0c18abf55
3 changed files with 4 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue