fix(ui): staging area left/right hotkeys

This commit is contained in:
psychedelicious
2025-07-18 18:37:51 +10:00
committed by Kent Keirsey
parent 307259f096
commit 3eca0d2ba0
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ export const StagingAreaToolbarNextButton = memo(() => {
ctx.selectNext,
{
preventDefault: true,
enabled: isCanvasFocused && !shouldShowStagedImage && itemCount > 1,
enabled: isCanvasFocused && shouldShowStagedImage && itemCount > 1,
},
[isCanvasFocused, shouldShowStagedImage, itemCount, ctx.selectNext]
);

View File

@@ -26,7 +26,7 @@ export const StagingAreaToolbarPrevButton = memo(() => {
ctx.selectPrev,
{
preventDefault: true,
enabled: isCanvasFocused && !shouldShowStagedImage && itemCount > 1,
enabled: isCanvasFocused && shouldShowStagedImage && itemCount > 1,
},
[isCanvasFocused, shouldShowStagedImage, itemCount, ctx.selectPrev]
);