mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-13 09:14:55 -05:00
fix(ui): staging area left/right hotkeys
This commit is contained in:
committed by
Kent Keirsey
parent
307259f096
commit
3eca0d2ba0
@@ -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]
|
||||
);
|
||||
|
||||
@@ -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]
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user