fix command

This commit is contained in:
kekee000 2014-09-24 10:23:12 +08:00
parent e2e882a7fe
commit eccc71a11c

View File

@ -31,7 +31,7 @@ define(
* @param {string} command 命令 * @param {string} command 命令
*/ */
function onContextMenu(e) { function onContextMenu(e) {
if(this.currentGroup.shapes.length !== 1) { if(this.currentGroup.shapes.length === 0) {
return; return;
} }