Merge pull request #14160 from Snuffleupagus/pr-13770-followup

Fix pattern handling regression in `SVGGraphics` (PR 13770 follow-up)
This commit is contained in:
Tim van der Meij 2021-10-19 19:31:18 +02:00 committed by GitHub
commit 382be22c11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1160,6 +1160,9 @@ if (
* @private
*/
_makeShadingPattern(args) {
if (typeof args === "string") {
args = this.objs.get(args);
}
switch (args[0]) {
case "RadialAxial":
const shadingId = `shading${shadingCount++}`;