Skip to content

Commit c83f4e3

Browse files
authored
Merge pull request #7586 from swastikCommits/fix/push-and-pop-ignoring-colorMode
fix: push() ignoring the ColorMode #7402
2 parents 804d895 + d342533 commit c83f4e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/core/p5.Renderer.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,9 @@ class Renderer extends p5.Element {
8686
_textAlign: this._textAlign,
8787
_textBaseline: this._textBaseline,
8888
_textStyle: this._textStyle,
89-
_textWrap: this._textWrap
89+
_textWrap: this._textWrap,
90+
_colorMode: this._colorMode,
91+
_colorMaxes: this._colorMaxes.slice()
9092
}
9193
};
9294
}

0 commit comments

Comments
 (0)