task(CAD-3): box selection - window/crossing by drag direction, preview rectangle, shift-additive, defensive state hygiene

This commit is contained in:
Agent Zero
2026-08-30 14:11:07 +02:00
parent 89df306078
commit 099f65414f
3 changed files with 328 additions and 1 deletions
+2
View File
@@ -807,6 +807,8 @@ describe('A3 pilot: select tool', () => {
selectTool.handlers.down!(pe(10, 10), ctx);
expect(getIds()).toEqual(['a']);
selectTool.handlers.down!(pe(999, 999), ctx);
// CAD-3: Leerklick leert erst bei up (Klick ohne Zug) — Box-Select-Follow-up
selectTool.handlers.up!(pe(999, 999), ctx);
expect(getIds()).toEqual([]);
expect(coreModifyPlugin.manifest.enabledByDefault).toBe(true);