From abcf8292220dcce965e4d0c81dafd8dd0e30a859 Mon Sep 17 00:00:00 2001 From: Victor Hagsand Date: Sun, 15 Nov 2020 09:47:05 +0100 Subject: [PATCH] fix(fabric.Canvas): rotation handle should take origin into account (#6686) Co-authored-by: Victor Hagsand --- src/canvas.class.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/canvas.class.js b/src/canvas.class.js index 66745ec441e..5ce9320335c 100644 --- a/src/canvas.class.js +++ b/src/canvas.class.js @@ -608,10 +608,6 @@ else if (corner === 'bl' || corner === 'mb' || corner === 'br') { origin.y = 'top'; } - else if (corner === 'mtr') { - origin.x = 'center'; - origin.y = 'center'; - } return origin; },