initialize _scroll_parent in Canvas::item
This commit is contained in:
parent
6c6afa4ecf
commit
dae45f1d75
@ -51,6 +51,7 @@ Item::Item (Group* parent)
|
||||
, Outline (*this)
|
||||
, _canvas (parent->canvas())
|
||||
, _parent (parent)
|
||||
, _scroll_parent (0)
|
||||
, _visible (true)
|
||||
, _bounding_box_dirty (true)
|
||||
, _ignore_events (false)
|
||||
@ -69,6 +70,7 @@ Item::Item (Group* parent, Duple const& p)
|
||||
, Outline (*this)
|
||||
, _canvas (parent->canvas())
|
||||
, _parent (parent)
|
||||
, _scroll_parent (0)
|
||||
, _position (p)
|
||||
, _visible (true)
|
||||
, _bounding_box_dirty (true)
|
||||
|
Loading…
Reference in New Issue
Block a user