Implement onActivate() onDeactivate() handlers on Tool, and remove onSelect() / onDeselect() which never worked.

This commit is contained in:
Jürg Lehni 2012-11-07 01:02:09 -08:00
parent e9a9066d7f
commit 01342fa073
4 changed files with 12 additions and 8 deletions

View file

@ -165,7 +165,7 @@ var PaperScript = this.PaperScript = new function() {
// Within this, use a function scope, so local variables to not try
// and set themselves on the scope object.
(function() {
var onEditOptions, onSelect, onDeselect, onReselect,
var onActivate, onDeactivate, onEditOptions,
onMouseDown, onMouseUp, onMouseDrag, onMouseMove,
onKeyDown, onKeyUp, onFrame, onResize;
res = eval(compile(code));