Merge pull request #14160 from Snuffleupagus/pr-13770-followup
Fix pattern handling regression in `SVGGraphics` (PR 13770 follow-up)
This commit is contained in:
commit
382be22c11
@ -1160,6 +1160,9 @@ if (
|
|||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
_makeShadingPattern(args) {
|
_makeShadingPattern(args) {
|
||||||
|
if (typeof args === "string") {
|
||||||
|
args = this.objs.get(args);
|
||||||
|
}
|
||||||
switch (args[0]) {
|
switch (args[0]) {
|
||||||
case "RadialAxial":
|
case "RadialAxial":
|
||||||
const shadingId = `shading${shadingCount++}`;
|
const shadingId = `shading${shadingCount++}`;
|
||||||
|
Loading…
Reference in New Issue
Block a user