From 5aeab780ab75293da448bb4638bcea15f32cf9fb Mon Sep 17 00:00:00 2001 From: Skyler Lehmkuhl Date: Mon, 13 Jan 2025 22:32:29 -0500 Subject: [PATCH] hack to fix pink squares in some files --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 7af2103..878a09d 100644 --- a/src/main.js +++ b/src/main.js @@ -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) {