title: fabricjs change border size and colour on some event not working
body: <p>I am using below code to change selected border and border color of Selected Shape, but once i call that event object goes to smaller size and doesn't re-size to large .</p>
  
  <pre><code>$('#shape_border_colour').spectrum({
  
          color : "#f00",
          change : function(color) {
              console.log(' color change' + color.toHexString());
  
              var obj = canvas.getActiveObject();
              shape_strokeColor=color.toHexString();
              if (!obj)
                  return;
  
              obj.set('stroke', shape_strokeColor);
              obj.set('strokeWidth',shape_strokeWidth);
  
              //stroke : 'white',
              //strokeWidth : 5
              //obj.set('textBackgroundColor', color.toHexString());
  
              canvas.renderAll();
  
          }
      });
  
      $('#shape_border_size').change(function() {
          console.log(' size changed to ' + $(this).val());
          img_border = $(this).val();
          var obj = canvas.getActiveObject();
          shape_strokeWidth=$(this).val();
          if (!obj)
              return;
  
          obj.set('stroke',shape_strokeColor );
          obj.set('strokeWidth', shape_strokeWidth);
          canvas.renderAll();
  
      });
  </code></pre>
  
  <p>what would be the problem ??</p>