fix command
This commit is contained in:
parent
e2e882a7fe
commit
eccc71a11c
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user