From 4ffb59abe80ff6815866a37447db62933b064813 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Tue, 22 Jan 2019 19:57:50 +0100 Subject: fixed move and center commands for text - fixed move commands (x, y, move) of text so that it moves text always by the upper left edge. - fixed center commands (cx, cy, center) of text so that it moves text always by the center. --- src/modules/optional/sugar.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/modules') diff --git a/src/modules/optional/sugar.js b/src/modules/optional/sugar.js index 7aba0f7..0da0fe4 100644 --- a/src/modules/optional/sugar.js +++ b/src/modules/optional/sugar.js @@ -102,11 +102,6 @@ registerMethods([ 'Element', 'Runner' ], { // Opacity opacity: function (value) { return this.attr('opacity', value) - }, - - // Relative move over x and y axes - dmove: function (x, y) { - return this.dx(x).dy(y) } }) -- cgit v1.2.3