From 946b6b0d87a1bbc928629c35413238b93a23e1bb Mon Sep 17 00:00:00 2001 From: DD Date: Mon, 16 Oct 2017 11:14:08 -0400 Subject: [PATCH] Add back caveat for fully selected shapes, since code to remove handles when a shape is fully selected is in the paper fork we are using --- src/helper/selection-tools/reshape-tool.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/helper/selection-tools/reshape-tool.js b/src/helper/selection-tools/reshape-tool.js index cb55fd1b..15a50f44 100644 --- a/src/helper/selection-tools/reshape-tool.js +++ b/src/helper/selection-tools/reshape-tool.js @@ -96,6 +96,10 @@ class ReshapeTool extends paper.Tool { if (!item.segment.selected) { return false; } + // If the entire shape is selected, handles are hidden + if (item.item.fullySelected) { + return false; + } } return true; }; @@ -107,6 +111,10 @@ class ReshapeTool extends paper.Tool { if (!item.segment.selected) { return false; } + // If the entire shape is selected, handles are hidden + if (item.item.fullySelected) { + return false; + } } return true; };