summaryrefslogtreecommitdiffstats
path: root/dist/svg.js
diff options
context:
space:
mode:
Diffstat (limited to 'dist/svg.js')
-rw-r--r--dist/svg.js9
1 files changed, 2 insertions, 7 deletions
diff --git a/dist/svg.js b/dist/svg.js
index 5d3f814..0f58706 100644
--- a/dist/svg.js
+++ b/dist/svg.js
@@ -6,7 +6,7 @@
* @copyright Wout Fierens <wout@mick-wout.com>
* @license MIT
*
-* BUILT: Mon Mar 06 2017 13:38:10 GMT+0100 (Mitteleuropäische Zeit)
+* BUILT: Mon Mar 06 2017 15:14:24 GMT+0100 (Mitteleuropäische Zeit)
*/;
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
@@ -4407,10 +4407,6 @@ SVG.Text = SVG.invent({
if (x == null)
return this.attr('x')
- // move lines as well if no textPath is present
- if (!this.textPath)
- this.lines().each(function() { if (this.dom.newLined) this.x(x) })
-
return this.attr('x', x)
}
// Move over y-axis
@@ -4512,9 +4508,8 @@ SVG.Text = SVG.invent({
this.lines().each(function() {
if (this.dom.newLined) {
- if (!this.textPath)
+ if (!self.textPath())
this.attr('x', self.attr('x'))
-
if(this.text() == '\n') {
blankLineOffset += dy
}else{