Skip to content

Commit

Permalink
fix(ui): brush size and layer cycle hotkeys conflict
Browse files Browse the repository at this point in the history
Closes #6829
  • Loading branch information
psychedelicious committed Sep 10, 2024
1 parent 2d2e492 commit e517c32
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,19 @@ export const useNextPrevEntityHotkeys = () => {

useHotkeys(
// “ === alt+[
['alt+[', '“'],
['“'],
selectPrevEntity,
{ preventDefault: true, ignoreModifiers: true },
[selectPrevEntity]
);

useHotkeys(['alt+['], selectPrevEntity, { preventDefault: true }, [selectPrevEntity]);
useHotkeys(
// ‘ === alt+]
['alt+]', '‘'],
['‘'],
selectNextEntity,
{ preventDefault: true, ignoreModifiers: true },
[selectNextEntity]
);
useHotkeys(['alt+]'], selectNextEntity, { preventDefault: true }, [selectNextEntity]);
};

0 comments on commit e517c32

Please sign in to comment.