refactor: improve split pane drag-and-drop and resize handle UX

This commit is contained in:
Mohamed Boudra
2026-03-18 16:19:43 +07:00
parent 0bc903fa21
commit b5212a69c9
9 changed files with 365 additions and 176 deletions
@@ -302,7 +302,7 @@ function normalizeSizes(input: NormalizeSizesInput): number[] {
return sanitized.map((value) => value / total);
}
function clampNormalizedSizes(sizes: number[]): number[] {
export function clampNormalizedSizes(sizes: number[]): number[] {
if (sizes.length === 0) {
return [];
}