Changeset 1349


Ignore:
Timestamp:
02/03/18 23:43:36 (5 months ago)
Author:
gogo
Message:

Fix #1487 - 2 or more editors with rapid change between causes Disco Fever.

Click into editor 1 and before the style pane is filled click into editor 2) the other causes "disco" flashing between the two.

Verifying that the editor is activated before running the fill styles seems to fix it ok.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/Stylist/Stylist.js

    r1332 r1349  
    708708 
    709709    var e = this.editor; 
    710     this._timeoutID = window.setTimeout(function() { e._fillStylist(); }, 500); 
    711   } 
    712 }; 
     710    this._timeoutID = window.setTimeout(function() { if(e.editorIsActivated()) e._fillStylist(); }, 500); 
     711  } 
     712}; 
Note: See TracChangeset for help on using the changeset viewer.