From d342533b14a282ff46733113f48e70d313b6c4f5 Mon Sep 17 00:00:00 2001 From: swastikCommits Date: Sat, 1 Mar 2025 15:17:00 +0530 Subject: [PATCH] fix: push() ignoring the ColorMode #7402 --- src/core/p5.Renderer.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/p5.Renderer.js b/src/core/p5.Renderer.js index 21ce3bd64b..41417b3606 100644 --- a/src/core/p5.Renderer.js +++ b/src/core/p5.Renderer.js @@ -86,7 +86,9 @@ class Renderer extends p5.Element { _textAlign: this._textAlign, _textBaseline: this._textBaseline, _textStyle: this._textStyle, - _textWrap: this._textWrap + _textWrap: this._textWrap, + _colorMode: this._colorMode, + _colorMaxes: this._colorMaxes.slice() } }; }