From ff90d0792d9da6ab4a4fa5584fe56e6447715168 Mon Sep 17 00:00:00 2001 From: Rainer Simon Date: Tue, 12 Dec 2023 16:56:30 +0100 Subject: [PATCH] Bugfix in response to #25 --- .gitignore | 3 ++- src/ellipse/RubberbandEllipse.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 76add87..6acc570 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -dist \ No newline at end of file +dist +.DS_Store \ No newline at end of file diff --git a/src/ellipse/RubberbandEllipse.js b/src/ellipse/RubberbandEllipse.js index f905413..c8eb66a 100644 --- a/src/ellipse/RubberbandEllipse.js +++ b/src/ellipse/RubberbandEllipse.js @@ -17,7 +17,7 @@ export default class RubberbandEllipse { this.group = document.createElementNS(SVG_NAMESPACE, 'g'); - this.ellipse = drawEllipse(anchorX, anchorY, 2); + this.ellipse = drawEllipse(anchorX, anchorY, 2, 2); this.ellipse.setAttribute('class', 'a9s-selection'); this.mask = new Mask(env.image, this.ellipse);