feat(web): Outliner box select runs through the native engine
B arms a drag box, Shift adds and Ctrl subtracts, all through a new OUTLINER_SELECT_BOX engine action that follows OUTLINER_OT_select_box: SET pre-deselects and clears rows outside the dragged band, SUB clears in-range rows. The command joins the revision-refresh list so a box dispatched right after a click selection no longer fails on a stale baseRevision. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -461,6 +461,7 @@ export type EditorContextEdit = { workspaceId: string; screenId: string } & (
|
||||
| { action: 'OUTLINER_REMAP'; areaId: string; rowId: string; oldId: string; newId: string }
|
||||
| { action: 'OUTLINER_SELECT'; areaId: string; objectId: string; extend: boolean; range: boolean }
|
||||
| { action: 'OUTLINER_SELECT_ALL'; areaId: string; operation: 'SELECT' | 'DESELECT' | 'INVERT' | 'TOGGLE' }
|
||||
| { action: 'OUTLINER_SELECT_BOX'; areaId: string; firstRowId: string; lastRowId: string; mode: 'SET' | 'ADD' | 'SUB' | 'XOR' }
|
||||
| { action: 'OUTLINER_SET_DISPLAY_MODE'; areaId: string; displayMode: string }
|
||||
| { action: 'OUTLINER_SET_FILTER'; areaId: string; filter: NativeOutlinerFilter }
|
||||
| { action: 'OUTLINER_SET_SYNC_SELECT'; areaId: string; sync: boolean }
|
||||
|
||||
Reference in New Issue
Block a user