Skip to content

Commit f82640b

Browse files
psychedelicioushipsterusername
authored andcommitted
fix(ui): brush size and layer cycle hotkeys conflict
Closes #6829
1 parent e3e50ab commit f82640b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

invokeai/frontend/web/src/features/controlLayers/hooks/useNextPrevEntity.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,19 @@ export const useNextPrevEntityHotkeys = () => {
6161

6262
useHotkeys(
6363
// “ === alt+[
64-
['alt+[', '“'],
64+
['“'],
6565
selectPrevEntity,
6666
{ preventDefault: true, ignoreModifiers: true },
6767
[selectPrevEntity]
6868
);
69+
70+
useHotkeys(['alt+['], selectPrevEntity, { preventDefault: true }, [selectPrevEntity]);
6971
useHotkeys(
7072
// ‘ === alt+]
71-
['alt+]', '‘'],
73+
['‘'],
7274
selectNextEntity,
7375
{ preventDefault: true, ignoreModifiers: true },
7476
[selectNextEntity]
7577
);
78+
useHotkeys(['alt+]'], selectNextEntity, { preventDefault: true }, [selectNextEntity]);
7679
};

0 commit comments

Comments
 (0)