2014-09-22 67 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; 
    }