2014-09-22 142 views

回答

0

有一个在fabricjs

_shouldGroup: function(e, target) { 
     var activeObject = this.getActiveObject(); 
     return e.shiftKey && 
      (this.getActiveGroup() || (activeObject && activeObject !== target)) 
      && this.selection; 
    } 

更改此功能_shouldGroup到

_shouldGroup: function(e, target) { 
     var activeObject = this.getActiveObject(); 
     return false; 
    }