diff --git a/src/editor/mode/shapes.js b/src/editor/mode/shapes.js index 3fc8508..9906bca 100644 --- a/src/editor/mode/shapes.js +++ b/src/editor/mode/shapes.js @@ -31,7 +31,7 @@ define( * @param {string} command 命令 */ function onContextMenu(e) { - if(this.currentGroup.shapes.length !== 1) { + if(this.currentGroup.shapes.length === 0) { return; }