fix: show large git change lists reliably
Avoids empty changes sections when many files are modified Keeps medium-sized change lists on stable non-virtualized rendering
This commit is contained in:
@@ -36,7 +36,7 @@ interface ChangesSectionProps {
|
||||
onOpenStashes?: () => void;
|
||||
}
|
||||
|
||||
const CHANGE_LIST_VIRTUALIZE_THRESHOLD = 120;
|
||||
const CHANGE_LIST_VIRTUALIZE_THRESHOLD = 1000;
|
||||
const CHANGE_ROW_ESTIMATE_PX = 34;
|
||||
|
||||
type ChangesTreeDirectoryNode = {
|
||||
|
||||
Reference in New Issue
Block a user