mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-27 22:29:11 -04:00
Implement onActivate() onDeactivate() handlers on Tool, and remove onSelect() / onDeselect() which never worked.
This commit is contained in:
parent
e9a9066d7f
commit
01342fa073
4 changed files with 12 additions and 8 deletions
src/core
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue