diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2019-01-12 20:32:39 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2019-01-12 20:32:39 +0100 |
commit | 60792807eee29f1b748c9b12d308c477f7c1227d (patch) | |
tree | 27f5c46c02ea0acbec71668935ef72cf2749698e /src/modules | |
parent | f5eff8745af43fcfcc2e837d89d549cb66220d99 (diff) | |
download | svg.js-60792807eee29f1b748c9b12d308c477f7c1227d.tar.gz svg.js-60792807eee29f1b748c9b12d308c477f7c1227d.zip |
Fix move and size of groups, removed setting of a default font so we dont act against user intention, fixed bug in `font()`
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/optional/sugar.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/optional/sugar.js b/src/modules/optional/sugar.js index c05512d..7aba0f7 100644 --- a/src/modules/optional/sugar.js +++ b/src/modules/optional/sugar.js @@ -136,6 +136,7 @@ registerMethods([ 'Element', 'Runner' ], { font: function (a, v) { if (typeof a === 'object') { for (v in a) this.font(v, a[v]) + return this } return a === 'leading' |