We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e7cf1a + 20b8d76 commit 2890d64Copy full SHA for 2890d64
src/color/p5.Color.js
@@ -169,7 +169,7 @@ class Color {
169
170
// Get raw coordinates of underlying library, can differ between libraries
171
get _array() {
172
- return [...this._color.coords, this._color.alpha];
+ return this._getRGBA();
173
}
174
175
array(){
src/core/p5.Renderer.js
@@ -74,7 +74,7 @@ class Renderer {
74
this.states = new States(Renderer.states);
75
76
this.states.strokeColor = new Color([0, 0, 0]);
77
- this.states.fillColor = new Color([255, 255, 255]);
+ this.states.fillColor = new Color([1, 1, 1]);
78
79
this._pushPopStack = [];
80
// NOTE: can use the length of the push pop stack instead
0 commit comments