From 1264c2764ceb48658aad00a875cb9c9ca6554453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 20 Jul 2016 10:29:27 +0200 Subject: [PATCH] Shorten code statement from #1111 --- src/path/PathItem.Boolean.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/path/PathItem.Boolean.js b/src/path/PathItem.Boolean.js index d02cd10a..0fd073fe 100644 --- a/src/path/PathItem.Boolean.js +++ b/src/path/PathItem.Boolean.js @@ -911,7 +911,8 @@ PathItem.inject(new function() { next._handleIn._set(0, 0); var curve = prev.getCurve(); if (curve.isStraight() && curve.getLength() === 0) { - next._handleIn.set(prev._handleIn.x, prev._handleIn.y); + // Transfer handleIn when removing segment: + next._handleIn.set(prev._handleIn); prev.remove(); } }