NasalCanvas: expose Element::getParent() to Nasal
This commit is contained in:
parent
2f51052860
commit
961905a6cf
1 changed files with 1 additions and 0 deletions
|
@ -229,6 +229,7 @@ naRef initNasalCanvas(naRef globals, naContext c)
|
|||
.method("addEventListener", &sc::Canvas::addEventListener);
|
||||
NasalElement::init("canvas.Element")
|
||||
.member("_node_ghost", &elementGetNode<sc::Element>)
|
||||
.method("_getParent", &sc::Element::getParent)
|
||||
.method("addEventListener", &sc::Element::addEventListener)
|
||||
.method("getTransformedBounds", &f_elementGetTransformedBounds);
|
||||
NasalGroup::init("canvas.Group")
|
||||
|
|
Loading…
Reference in a new issue