mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
perf(ui): increase viewport in gallery
This allows us to prefetch more images and reduce how often placeholders are shown as we fetch more images in the gallery.
This commit is contained in:
@@ -511,7 +511,7 @@ export const NewGallery = memo(() => {
|
||||
ref={virtuosoRef}
|
||||
context={context}
|
||||
data={imageNames}
|
||||
increaseViewportBy={2048}
|
||||
increaseViewportBy={4096}
|
||||
itemContent={itemContent}
|
||||
computeItemKey={computeItemKey}
|
||||
components={components}
|
||||
|
||||
Reference in New Issue
Block a user