mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Fix to gallery resizing
This commit is contained in:
parent
25b19b9ab8
commit
f3b7316683
@ -117,8 +117,7 @@ export default function ImageGallery() {
|
||||
|
||||
const handleOpenGallery = () => {
|
||||
dispatch(setShouldShowGallery(true));
|
||||
shouldPinGallery &&
|
||||
setTimeout(() => dispatch(setDoesCanvasNeedScaling(true)), 400);
|
||||
shouldPinGallery && dispatch(setDoesCanvasNeedScaling(true));
|
||||
};
|
||||
|
||||
const handleCloseGallery = useCallback(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user