Skip to content

Commit 5e9b1cc

Browse files
authored
Added ellipseMode(RADIUS) to examples/es
Changed the es version.
1 parent dbac924 commit 5e9b1cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/data/examples/es/33_Sound/05_Sound_Effect.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class Doorbell {
3333
}
3434
stroke(0);
3535
strokeWeight(4);
36+
ellipseMode(RADIUS);
3637
ellipse(this.x, this.y, this.r, this.r);
3738
}
3839
}
@@ -52,7 +53,7 @@ function setup() {
5253
dingdong = loadSound('assets/doorbell.mp3');
5354

5455
// crear un nuevo timbre
55-
doorbell = new Doorbell(width / 2, height / 2, 64);
56+
doorbell = new Doorbell(width / 2, height / 2, 32);
5657
}
5758

5859
function draw() {

0 commit comments

Comments
 (0)