mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-06 04:42:15 -05:00
Code clean up.
This commit is contained in:
parent
b44d85277f
commit
079008b243
1 changed files with 2 additions and 2 deletions
|
@ -158,8 +158,8 @@ var ToolEvent = this.ToolEvent = Base.extend({
|
|||
// Return downCount for both mouse down and up, since
|
||||
// the count is the same.
|
||||
return /^mouse(down|up)$/.test(this.type)
|
||||
? this.tool.downCount
|
||||
: this.tool.count;
|
||||
? this.tool.downCount
|
||||
: this.tool.count;
|
||||
},
|
||||
|
||||
setCount: function(count) {
|
||||
|
|
Loading…
Reference in a new issue