-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix: `image.n_frames` is now computed on-demand i.e the value is not computed until it's required. - It's computed only the first time the property is invoked and subsequent invocations simply return the previously computed value. - Eliminates delay during image initialization. - Change: Image animation (except in the TUI) is no longer dependent on `image.n_frames`. - `image.n_frames` might also be computed in the course image animation, as an optimization. - Change: Updated related tests.
- Loading branch information
1 parent
bc36925
commit 968e6e2
Showing
3 changed files
with
62 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters