Update ellipse.class.js

This commit is contained in:
asturur 2014-06-19 21:38:26 +02:00
parent 66d6b633ba
commit 2dc5e298a3

View file

@ -155,12 +155,12 @@
cy = parsedAttributes.top || 0;
if (!('left' in parsedAttributes)) {
parsedAttributes.left=0;
parsedAttributes.left = 0;
}
parsedAttributes.left -= (options.width / 2) || 0;
if (!('top' in parsedAttributes)) {
parsedAttributes.top=0;
parsedAttributes.top = 0;
}
parsedAttributes.top -= (options.height / 2) || 0;