Skip to content

Commit d6e85e5

Browse files
tidy(ui): rename GalleryBulkSelect -> GallerySelectionCountTag
1 parent 1ce4591 commit d6e85e5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

invokeai/frontend/web/src/features/gallery/components/ImageGrid/GalleryImageGrid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Box, Flex, Grid } from '@invoke-ai/ui-library';
22
import { EMPTY_ARRAY } from 'app/store/constants';
33
import { useAppDispatch, useAppSelector } from 'app/store/storeHooks';
44
import { IAINoContentFallback } from 'common/components/IAIImageFallback';
5-
import { GalleryBulkSelect } from 'features/gallery/components/ImageGrid/GalleryBulkSelect';
5+
import { GallerySelectionCountTag } from 'features/gallery/components/ImageGrid/GallerySelectionCountTag';
66
import { useGalleryHotkeys } from 'features/gallery/hooks/useGalleryHotkeys';
77
import { selectListImagesQueryArgs } from 'features/gallery/store/gallerySelectors';
88
import { limitChanged } from 'features/gallery/store/gallerySlice';
@@ -145,7 +145,7 @@ const Content = () => {
145145
))}
146146
</Grid>
147147
</Box>
148-
<GalleryBulkSelect />
148+
<GallerySelectionCountTag />
149149
</Box>
150150
);
151151
};

invokeai/frontend/web/src/features/gallery/components/ImageGrid/GalleryBulkSelect.tsx renamed to invokeai/frontend/web/src/features/gallery/components/ImageGrid/GallerySelectionCountTag.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useCallback } from 'react';
66
import { useHotkeys } from 'react-hotkeys-hook';
77
import { useTranslation } from 'react-i18next';
88

9-
export const GalleryBulkSelect = () => {
9+
export const GallerySelectionCountTag = () => {
1010
const dispatch = useAppDispatch();
1111
const { selection } = useAppSelector((s) => s.gallery);
1212
const { t } = useTranslation();
@@ -31,8 +31,8 @@ export const GalleryBulkSelect = () => {
3131
position="absolute"
3232
bg="invokeBlue.800"
3333
color="base.50"
34-
py={1}
35-
px={3}
34+
py={2}
35+
px={4}
3636
userSelect="none"
3737
shadow="dark-lg"
3838
fontWeight="semibold"

0 commit comments

Comments
 (0)