mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
1f22f6ae02
- Simplify the gallery layout - Set an initial gallery limit to load _some_ images immediately. - Refactor the resize observer to use the actual rendered image component to calculate the number of images per row/col. This prevents inaccuracies caused by image padding that could result in the wrong number of images. - Debounce the limit update to not thrash teh API - Use absolute positioning trick to ensure the gallery container is always exactly the right size - Minimum of `imagesPerRow` images loaded at all times |
||
---|---|---|
.. | ||
.storybook | ||
patches | ||
public | ||
scripts | ||
src | ||
static/docs | ||
__init__.py | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.js | ||
index.html | ||
knip.ts | ||
package.json | ||
pnpm-lock.yaml | ||
README.md | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.mts |