Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cache scenario preview widget (#2143)
Fixes the lag issue noted in #1515. # Demo 1. First, launch a toplevel scenario: ``` scripts/play.sh -i data/scenarios/blank.yaml ``` 2. Then use <kbd>Ctrl</kbd>+<kbd>q</kbd> to quit to the scenario selection menu. 3. Notice when using up-arrow to select the "Classic" and "Creative" scenarios, there is a delay as the preview is computed for the first time. 4. Finally, when subsequently selecting back and forth between the two again, notice that the lag is gone, as the cache is being used.
- Loading branch information