From f6f5c2731b0c37089c5d7382736f973e857df712 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 1 Nov 2022 11:03:10 +1100 Subject: [PATCH] Decreases gallery width on inpainting --- frontend/src/features/gallery/ImageGallery.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/features/gallery/ImageGallery.tsx b/frontend/src/features/gallery/ImageGallery.tsx index abb511cc5d..0a87990573 100644 --- a/frontend/src/features/gallery/ImageGallery.tsx +++ b/frontend/src/features/gallery/ImageGallery.tsx @@ -69,9 +69,9 @@ export default function ImageGallery() { if (!shouldPinGallery) return; if (activeTabName === 'inpainting') { - dispatch(setGalleryWidth(220)); - setGalleryMinWidth(220); - setGalleryMaxWidth(220); + dispatch(setGalleryWidth(190)); + setGalleryMinWidth(190); + setGalleryMaxWidth(190); } else if (activeTabName === 'img2img') { dispatch( setGalleryWidth(Math.min(Math.max(Number(galleryWidth), 0), 490))