Skip to content

Commit a67ec31

Browse files
committed
Remove unused mode setter
1 parent f62a719 commit a67ec31

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/color/p5.Color.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,6 @@ class Color {
222222
}
223223
return this._cachedMode;
224224
}
225-
set mode(newMode) {
226-
if (this._initialize) {
227-
this._initialize();
228-
this._initialize = undefined;
229-
}
230-
this._cachedMode = newMode;
231-
}
232225
// Reference to underlying color object depending on implementation
233226
// Not meant to be used publicly unless the implementation is known for sure
234227
get _color() {

0 commit comments

Comments
 (0)