mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Fix white-space in code example.
This commit is contained in:
parent
36846d6e38
commit
18d44689fa
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ var Key = this.Key = new function() {
|
|||
* // 'a' key is pressed, fill it with red, otherwise fill it with blue:
|
||||
* function onMouseDown(event) {
|
||||
* var path = new Path.Circle(event.point, 10);
|
||||
* if(Key.isDown('a')) {
|
||||
* if (Key.isDown('a')) {
|
||||
* path.fillColor = 'red';
|
||||
* } else {
|
||||
* path.fillColor = 'blue';
|
||||
|
|
Loading…
Reference in a new issue