Skip to content

Commit

Permalink
don't bind the '0' key as a glyph toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Oct 2, 2022
1 parent c8103d0 commit 5002833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/analyse/src/keyboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const bind = (ctrl: AnalyseCtrl) => {
// navigation for next and prev chapters
kbd.bind('p', ctrl.study.goToPrevChapter);
kbd.bind('n', ctrl.study.goToNextChapter);
for (let i = 0; i < 7; i++) kbd.bind(i.toString(), () => ctrl.study?.glyphForm.toggleGlyph(i));
for (let i = 1; i < 7; i++) kbd.bind(i.toString(), () => ctrl.study?.glyphForm.toggleGlyph(i));
}
};

Expand Down

0 comments on commit 5002833

Please sign in to comment.