From c9165b0b4c5e634218c823ce9bd6e7eb60fa0f77 Mon Sep 17 00:00:00 2001 From: DD Date: Fri, 26 Jan 2018 17:21:47 -0500 Subject: [PATCH] Revert "Don't enable if there is nothing in the editor" This reverts commit e4ca0482b8a8f097930f858e81b9b8a902f21cdf. --- src/components/mode-tools/mode-tools.jsx | 3 --- src/containers/mode-tools.jsx | 8 +------- src/helper/selection.js | 1 - 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/src/components/mode-tools/mode-tools.jsx b/src/components/mode-tools/mode-tools.jsx index 2cde3d3c..e2b9b3ec 100644 --- a/src/components/mode-tools/mode-tools.jsx +++ b/src/components/mode-tools/mode-tools.jsx @@ -151,13 +151,11 @@ const ModeToolsComponent = props => { 0; } - hasItems () { - return getAllSelectableRootItems().length > 0; - } handleCurvePoints () { let changed; const points = this._getSelectedUncurvedPoints(); @@ -208,7 +203,6 @@ class ModeTools extends React.Component { render () { return (