diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 43ed0ccd..c11d23bc 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -2521,7 +2521,7 @@ function SvgCanvas(c) elem.setAttribute('y', (miny+maxy-parseInt(elem.getAttribute('height')))/2); break; case 'b': // bottom (vertical) - elem.setAttribute('y', maxx-parseInt(elem.getAttribute('height'))); + elem.setAttribute('y', maxy-parseInt(elem.getAttribute('height'))); break; } break;