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 = () => {
|
const handleOpenGallery = () => {
|
||||||
dispatch(setShouldShowGallery(true));
|
dispatch(setShouldShowGallery(true));
|
||||||
shouldPinGallery &&
|
shouldPinGallery && dispatch(setDoesCanvasNeedScaling(true));
|
||||||
setTimeout(() => dispatch(setDoesCanvasNeedScaling(true)), 400);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleCloseGallery = useCallback(() => {
|
const handleCloseGallery = useCallback(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user