This repository was archived by the owner on May 20, 2025. It is now read-only.
Commit e446e1e
Atom style callbacks pass indexes rather than an extension of Atom
The [TTFD](https://ttfd.vib.be) application uses this to display
selected atoms from a tracer metabolite. When the molecule itself is
used to store "selected" state the same instance must be used for
display. This prevents generalised React components where different
Molecule instances (of the same molecule) are used for display.1 parent d2649bb commit e446e1e
1 file changed
Lines changed: 7 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
392 | 391 | | |
393 | 392 | | |
394 | 393 | | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
| 394 | + | |
| 395 | + | |
400 | 396 | | |
401 | 397 | | |
402 | 398 | | |
| |||
416 | 412 | | |
417 | 413 | | |
418 | 414 | | |
419 | | - | |
| 415 | + | |
420 | 416 | | |
421 | 417 | | |
422 | 418 | | |
423 | 419 | | |
424 | | - | |
| 420 | + | |
425 | 421 | | |
426 | 422 | | |
427 | 423 | | |
428 | 424 | | |
429 | 425 | | |
430 | 426 | | |
431 | 427 | | |
432 | | - | |
| 428 | + | |
433 | 429 | | |
434 | 430 | | |
435 | 431 | | |
| |||
473 | 469 | | |
474 | 470 | | |
475 | 471 | | |
476 | | - | |
| 472 | + | |
477 | 473 | | |
478 | 474 | | |
479 | 475 | | |
480 | 476 | | |
481 | 477 | | |
482 | 478 | | |
483 | | - | |
| 479 | + | |
484 | 480 | | |
485 | 481 | | |
486 | 482 | | |
| |||
0 commit comments