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 changed files with 1 additions and 1 deletions

View File

@ -2964,7 +2964,7 @@ class BaseShape {
// } // }
if (this.filled) { if (this.filled) {
ctx.beginPath(); ctx.beginPath();
if (this.fillImage) { if (this.fillImage && this.fillImage instanceof Element) {
let pat; let pat;
if (this.fillImage instanceof Element || if (this.fillImage instanceof Element ||
Object.keys(this.fillImage).length !== 0) { Object.keys(this.fillImage).length !== 0) {