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 authored and hipsterusername committed Sep 10, 2024
1 parent e3e50ab commit f82640b
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 f82640b

Please sign in to comment.