title: Double clicking iText bug on 3.6.6 - fabricJS
body: <p>I'm using version 3.6.6 of fabricJS.</p>
  <p>When double clicking on the text, I can no longer change the color of it. This is definitely a bug. Anyone find a workaround for this?</p>
  <p>Here's the fiddle:</p>
  <pre><code>// Do some initializing stuff
  fabric.Object.prototype.set({
    transparentCorners: false,
    cornerColor: 'rgba(102,153,255,0.5)',
    cornerSize: 12,
    padding: 5
  });
  
  var canvas = window._canvas = new fabric.Canvas('c');
  
  let text = new fabric.IText('Some Selectable Text Here', {
    strokeWidth: 0,
    stroke: &quot;#ffffff&quot;,
    paintFirst: &quot;stroke&quot;,
    fill: '#000000',
    fontFamily: 'Courier',
    fontSize: 20,
    typeOfObject: &quot;text&quot;,
    charSpacing: 0,
    top:25,
    left: 25,
  });
  
  // Set canvas width / height to one of watermarks boundary dimensions
  canvas.setWidth(400);
  canvas.setHeight(200);
  canvas.backgroundColor = '#efefef';
  
  // Add watermark to new canvas
  canvas.add(text);
  
  $('#cc').click( function() {
  
      console.log(text);
  
      text.set(&quot;fill&quot;, '#CC0000');
    canvas.renderAll();
      
  });
  </code></pre>
  <p><a href="https://jsfiddle.net/busatlic/ok3rs0ay/60/" rel="nofollow noreferrer">https://jsfiddle.net/busatlic/ok3rs0ay/60/</a></p>
  <p>How to encounter the bug:</p>
  <ol>
  <li>Double click select a portion of text</li>
  <li>Type something to change it</li>
  <li>Click &quot;Change Color&quot;</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/YFrGC.png" rel="nofollow noreferrer">Output after following steps.</a></p>
  <p>Thanks!</p>
  <p>Trying to change style after having double clicked it and changed some text.</p>
  <p>It should change the color of the whole text, but instead only changes the color of all of the text that was NOT double click selected and edited.</p>