From 7bb5ce4a4acd5dcd6cea5209d9b59ce1339ca04f Mon Sep 17 00:00:00 2001 From: adroitwhiz Date: Wed, 6 Mar 2024 11:26:04 -0500 Subject: [PATCH] Properly close think bubble's circles --- src/TextBubbleSkin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/TextBubbleSkin.js b/src/TextBubbleSkin.js index 0ce6ac1a2..477f222dc 100644 --- a/src/TextBubbleSkin.js +++ b/src/TextBubbleSkin.js @@ -206,9 +206,11 @@ class TextBubbleSkin extends Skin { // and two circles detached from it ctx.moveTo(-7, 7.25); ctx.arc(-9.25, 7.25, 2.25, 0, Math.PI * 2); + ctx.closePath(); ctx.moveTo(0, 9.5); ctx.arc(-1.5, 9.5, 1.5, 0, Math.PI * 2); + ctx.closePath(); } // Un-translate the canvas and fill + stroke the text bubble