mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -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:
|
* // 'a' key is pressed, fill it with red, otherwise fill it with blue:
|
||||||
* function onMouseDown(event) {
|
* function onMouseDown(event) {
|
||||||
* var path = new Path.Circle(event.point, 10);
|
* var path = new Path.Circle(event.point, 10);
|
||||||
* if(Key.isDown('a')) {
|
* if (Key.isDown('a')) {
|
||||||
* path.fillColor = 'red';
|
* path.fillColor = 'red';
|
||||||
* } else {
|
* } else {
|
||||||
* path.fillColor = 'blue';
|
* path.fillColor = 'blue';
|
||||||
|
|
Loading…
Reference in a new issue