mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
f8c3db72e9
- Fix preexisting bug where gallery network requests were duplicated when triggering infinite scroll - Refactor `useNextPrevImage` to not use `state => state` as an input selector - logic split up into different hooks - Remove use instant scroll for arrow key navigation - smooth scroll is janky when you hold the arrow down and it fires rapidly - Move gallery nav hotkeys to GalleryImageGrid component, so they work whenever the gallery is open (previously didn't work on canvas or workflow editor tabs) - Use nanostores for gallery grid refs instead of passing context with virtuoso's context feature, making it much simpler to do the imperative gallery nav - General gallery hook/component cleanup |
||
---|---|---|
.. | ||
components | ||
hooks | ||
store | ||
util |