From 60792807eee29f1b748c9b12d308c477f7c1227d Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Sat, 12 Jan 2019 20:32:39 +0100 Subject: Fix move and size of groups, removed setting of a default font so we dont act against user intention, fixed bug in `font()` --- src/modules/optional/sugar.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules') 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' -- cgit v1.2.3