Grid: drop the full-screen "Loading more photos" flash
Pages now fetch behind the live grid; the HUD's "+" already signals that more photos are coming, and the fetch only blocks briefly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -2995,11 +2995,11 @@ int main(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* fetch the next page when the selection settles near the
|
/* fetch the next page when the selection settles near the
|
||||||
* end (gated on !scrolling_fast, see above) */
|
* end (gated on !scrolling_fast, see above). no loading
|
||||||
|
* screen: the grid stays up, the HUD's "+" already says
|
||||||
|
* more is coming, and the fetch only blocks briefly */
|
||||||
if (!scrolling_fast && g_next_page > 0 &&
|
if (!scrolling_fast && g_next_page > 0 &&
|
||||||
sel >= g_disp_count - COLS * 4) {
|
sel >= g_disp_count - COLS * 4) {
|
||||||
show_status("Loading more photos... (%d so far)",
|
|
||||||
g_asset_count);
|
|
||||||
if (fetch_page(0) > 0)
|
if (fetch_page(0) > 0)
|
||||||
rebuild_display();
|
rebuild_display();
|
||||||
if (sel >= g_disp_count)
|
if (sel >= g_disp_count)
|
||||||
|
|||||||
Reference in New Issue
Block a user