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:
Bohdan Triapitsyn
2026-05-14 23:47:35 +03:00
parent a1777689e7
commit 8c226afbbb
@@ -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 = {