Fix spouse overlap, reset defaults to 3 gen, remove sliders
- Add collision resolution pass after Y-snapping: sweeps each generation row left-to-right pushing overlapping cards apart, then re-centers the row to prevent drift - Reset default generations to 3 (up from 4) to avoid layout issues - Remove generation sliders from chart page for simplicity - Add sync.sh for deployment to server
This commit is contained in:
+4
-4
@@ -42,10 +42,10 @@ class Module extends AbstractModule implements ModuleChartInterface, ModuleCusto
|
||||
public const ROUTE_NAME = 'full-diagram';
|
||||
public const ROUTE_URL = '/tree/{tree}/full-diagram/{xref}';
|
||||
|
||||
private const DEFAULT_ANCESTOR_GENERATIONS = 4;
|
||||
private const DEFAULT_DESCENDANT_GENERATIONS = 4;
|
||||
private const BLOCK_DEFAULT_ANCESTOR_GENS = 4;
|
||||
private const BLOCK_DEFAULT_DESCENDANT_GENS = 4;
|
||||
private const DEFAULT_ANCESTOR_GENERATIONS = 3;
|
||||
private const DEFAULT_DESCENDANT_GENERATIONS = 3;
|
||||
private const BLOCK_DEFAULT_ANCESTOR_GENS = 3;
|
||||
private const BLOCK_DEFAULT_DESCENDANT_GENS = 3;
|
||||
private const MINIMUM_GENERATIONS = 1;
|
||||
private const MAXIMUM_GENERATIONS = 10;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user