hack to fix pink squares in some files

This commit is contained in:
Skyler Lehmkuhl
2025-01-13 22:32:29 -05:00
parent 7eaae15ff3
commit 5aeab780ab
+1 -1
View File
@@ -2964,7 +2964,7 @@ class BaseShape {
// }
if (this.filled) {
ctx.beginPath();
if (this.fillImage) {
if (this.fillImage && this.fillImage instanceof Element) {
let pat;
if (this.fillImage instanceof Element ||
Object.keys(this.fillImage).length !== 0) {