Skip to content

Commit 78b1b45

Browse files
author
Lauren McCarthy
committed
fixing hue and saturation examples closes #401
1 parent 76ec53a commit 78b1b45

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/data/examples/en/07_Color/00_Hue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* yellow, etc.) Move the cursor vertically over each bar to alter its hue.
66
*/
77
const barWidth = 20;
8-
const lastBar = -1;
8+
let lastBar = -1;
99

1010
function setup() {
1111
createCanvas(720, 400);

src/data/examples/en/07_Color/01_Saturation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Move the cursor vertically over each bar to alter its saturation.
77
*/
88
const barWidth = 20;
9-
const lastBar = -1;
9+
let lastBar = -1;
1010

1111
function setup() {
1212
createCanvas(720, 400);

src/data/examples/es/07_Color/00_Hue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Mueve el cursor verticalmente sobre cada barra para alterar su tinte.
77
*/
88
const barWidth = 20;
9-
const lastBar = -1;
9+
let lastBar = -1;
1010

1111
function setup() {
1212
createCanvas(720, 400);

src/data/examples/es/07_Color/01_Saturation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Mueve el cursor verticalmente sobre cada barra para alterar su saturación.
77
*/
88
const barWidth = 20;
9-
const lastBar = -1;
9+
let lastBar = -1;
1010

1111
function setup() {
1212
createCanvas(720, 400);

src/data/examples/zh-Hans/07_Color/00_Hue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* yellow, etc.) Move the cursor vertically over each bar to alter its hue.
66
*/
77
const barWidth = 20;
8-
const lastBar = -1;
8+
let lastBar = -1;
99

1010
function setup() {
1111
createCanvas(720, 400);

src/data/examples/zh-Hans/07_Color/01_Saturation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Move the cursor vertically over each bar to alter its saturation.
77
*/
88
const barWidth = 20;
9-
const lastBar = -1;
9+
let lastBar = -1;
1010

1111
function setup() {
1212
createCanvas(720, 400);

0 commit comments

Comments
 (0)