Skip to content

Commit 8cde1a2

Browse files
fix(ui): staging area left/right hotkeys
1 parent 8a6a887 commit 8cde1a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

invokeai/frontend/web/src/features/controlLayers/components/StagingArea/StagingAreaToolbarNextButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export const StagingAreaToolbarNextButton = memo(() => {
2727
ctx.selectNext,
2828
{
2929
preventDefault: true,
30-
enabled: isCanvasFocused && !shouldShowStagedImage && itemCount > 1,
30+
enabled: isCanvasFocused && shouldShowStagedImage && itemCount > 1,
3131
},
3232
[isCanvasFocused, shouldShowStagedImage, itemCount, ctx.selectNext]
3333
);

invokeai/frontend/web/src/features/controlLayers/components/StagingArea/StagingAreaToolbarPrevButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const StagingAreaToolbarPrevButton = memo(() => {
2626
ctx.selectPrev,
2727
{
2828
preventDefault: true,
29-
enabled: isCanvasFocused && !shouldShowStagedImage && itemCount > 1,
29+
enabled: isCanvasFocused && shouldShowStagedImage && itemCount > 1,
3030
},
3131
[isCanvasFocused, shouldShowStagedImage, itemCount, ctx.selectPrev]
3232
);

0 commit comments

Comments
 (0)