Keep a stepped-past download from replacing the open photograph
Opening a photograph from the library starts a download and a timer that polls for it. Every step along the roll started another, and each one put its result on screen when it landed, so a frame stepped past earlier could arrive last and replace the one whose name was showing. Each open now takes a generation number; a download that lands for an older generation is recorded in the activity list (its bytes are cached) and goes no further. The outgoing session also stayed live until the new download landed. Its sliders kept working, and a second step before the first landed saved that session's edit under the new photograph's identity. The session is now dropped as soon as its edit is saved.
This commit is contained in:
+47
-47
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user