Commit bbbc2ab
committed
fix(brain): drop click-spotlight — selection feedback via halo + panel only
Spotlighting on click moved camera by the same delta as the orbit
target, holding camera→target distance constant. Visually that meant
clicks on satellites in front of the camera looked like zoom-in;
clicks on satellites behind looked like zoom-out — same code path,
opposite direction depending on which side of origin the satellite
lived on.
There is no symmetric click-camera that "feels right" on a free orbit
— either the camera moves and feels arbitrary, or it stays put. Going
with stays-put. The selected node is already obvious from the white
body + 1.4× halo + the detail panel; the eye doesn't need a camera
move to find it.
Camera.spotlight() / returnToOrigin() remain in the API for future
use but are no longer called from click or from real firing events.
Tests: 167 passed.1 parent c9a9bc0 commit bbbc2ab
2 files changed
Lines changed: 7 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
278 | | - | |
279 | 278 | | |
280 | 279 | | |
281 | 280 | | |
282 | 281 | | |
283 | 282 | | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | 283 | | |
289 | 284 | | |
290 | 285 | | |
291 | 286 | | |
292 | 287 | | |
293 | 288 | | |
294 | 289 | | |
295 | | - | |
296 | 290 | | |
297 | 291 | | |
298 | 292 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
0 commit comments