Show/hide hotkey in non-English layouts
Closed this issue · 2 comments
achikin commented
Ctrl-h
shortcut does not work if non-english layout is active.
Steps to reproduce:
- Navigate to the app with re-frame-10x enabled
- Switch keyboard layout to a non-English one (in my case Russian)
- Press
ctrl-h
Expected behavior:
re-frame-10x
panel is shown/hidden
Actual behavior:
Nothing happens.
achikin commented
This happens because a particular char is checked here, not a keycode https://github.com/Day8/re-frame-10x/blob/master/src/day8/re_frame_10x.cljs#L173
danielcompton commented
A PR would be welcome for this to switch to the keycode. We've had quite a few issues with this toggling hotkey, so we may need to take a different approach in the future, but for now, happy to fix this issue.