Closed youngca closed 9 years ago
We need to protect against having the events added more that one time. Maybe storing a value for each type in the shared node object would be a potential solution. Those flags could be added in createLocalNode in the model/kinetic.js and then all of the objects will get those values.
@youngca
Status of whether the mouse and/or touch events have been attached are stored in the shared node.
@scottnc27603 @davideaster
:+1:
For each kinetic object class, add properties of supportMouseEvents and supportTouchEvents. If these properties are true, then when the object is created and initialized, the mouse and/or touch events will be added.
@scottnc27603 @davideaster