This commit is contained in:
Халимов Рустам
2026-01-10 19:54:16 +03:00
parent f3bc06e69f
commit 8d3841ae1f
4 changed files with 97 additions and 118 deletions

View File

@@ -11,11 +11,10 @@ export interface AppConfig {
cornerRadius: number;
}
// Описание внутренней перегородки
export interface Partition {
id: string;
axis: 'x' | 'y';
offset: number; // 0.1 - 0.9
offset: number; // 0.0 - 1.0
height: number;
rounded: boolean;
}
@@ -23,7 +22,7 @@ export interface Partition {
export interface LayoutSplits {
x: number[];
y: number[];
// Ключ: "i-j", Значение: массив перегородок
// Ключ "i-j", Значение - массив перегородок
partitions: Record<string, Partition[]>;
}