diff --git a/src/Scripting/NasalCanvas.cxx b/src/Scripting/NasalCanvas.cxx index 78540f90e..6a4345cf1 100644 --- a/src/Scripting/NasalCanvas.cxx +++ b/src/Scripting/NasalCanvas.cxx @@ -199,6 +199,7 @@ naRef initNasalCanvas(naRef globals, naContext c, naRef gcSave) NasalEvent::init("canvas.Event") .member("type", &sc::Event::getTypeString) .member("target", &sc::Event::getTarget) + .member("currentTarget", &sc::Event::getCurrentTarget) .method("stopPropagation", &sc::Event::stopPropagation); NasalMouseEvent::init("canvas.MouseEvent") .bases()