Commit c394ebd
committed
[ui] Homepage: Refactorize the opening of projects
Since there are two different paths to open a project (either by clicking
on the project's thumbnail, or by clicking "Open" after a right-click on
the project's thumbnail), the code to open it was duplicated in two
different places.
A single function is added to perform that operation, and is now called
in both places, using the updated prototype of the
`executeAfterFrameRendered` function.1 parent b2fb1d4 commit c394ebd
1 file changed
Lines changed: 12 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
30 | 40 | | |
31 | 41 | | |
32 | 42 | | |
| |||
458 | 468 | | |
459 | 469 | | |
460 | 470 | | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
| 471 | + | |
470 | 472 | | |
471 | 473 | | |
472 | 474 | | |
| |||
481 | 483 | | |
482 | 484 | | |
483 | 485 | | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
| 486 | + | |
493 | 487 | | |
494 | 488 | | |
495 | 489 | | |
| |||
0 commit comments