throttle colorview on page load
This commit is contained in:
parent
6d7bd650e9
commit
be47cfc471
|
@ -216,6 +216,10 @@
|
||||||
|
|
||||||
|
|
||||||
function colorizeChanges(state, changes) {
|
function colorizeChanges(state, changes) {
|
||||||
|
if (changes.length === 1 && changes[0].origin === 'setValue') {
|
||||||
|
colorizeAll(state);
|
||||||
|
return;
|
||||||
|
}
|
||||||
const queue = [];
|
const queue = [];
|
||||||
const postponed = [];
|
const postponed = [];
|
||||||
const viewFrom = state.cm.display.viewFrom || 0;
|
const viewFrom = state.cm.display.viewFrom || 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user