mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
drop visible map recomputation time to 100ms (from 1000ms). lines fill in much faster when scrolling
This commit is contained in:
parent
d9c7b61c91
commit
3f57ee8c46
@ -68,7 +68,7 @@ class LinesView extends React.Component<
|
|||||||
});
|
});
|
||||||
this.visibleMap = new Map();
|
this.visibleMap = new Map();
|
||||||
this.collapsedMap = new Map();
|
this.collapsedMap = new Map();
|
||||||
this.computeVisibleMap_debounced = debounce(1000, this.computeVisibleMap.bind(this));
|
this.computeVisibleMap_debounced = debounce(100, this.computeVisibleMap.bind(this));
|
||||||
}
|
}
|
||||||
|
|
||||||
@boundMethod
|
@boundMethod
|
||||||
|
Loading…
Reference in New Issue
Block a user