13
0

initialize _scroll_parent in Canvas::item

This commit is contained in:
Paul Davis 2014-06-15 12:17:03 -04:00
parent 6c6afa4ecf
commit dae45f1d75

View File

@ -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)