You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to compile a file where I removed all layers except layer 0, and nothing happened.
I thought the UI froze, because the Download buttons were deactivated, but I then realised this was intentional.
However, I saw an error message in the console: key[0].keycodes[layer] is undefined
I think the culprate is src/files/generators/keymap.c.js:
For some reason, that for loop looks a bit dodgy. It seems to assume that there will always be the max amount of layers.
I don't know if that is supposed to be the case.
I did modify my layout file by hand, and in order to get a clean, human-readable JSON, I removed the unused layers. If that's not supported, that should either fail gracefully or maybe add KC_TRNS keycodes by default ?
The text was updated successfully, but these errors were encountered:
I tried to compile a file where I removed all layers except layer 0, and nothing happened.
I thought the UI froze, because the Download buttons were deactivated, but I then realised this was intentional.
However, I saw an error message in the console:
key[0].keycodes[layer] is undefined
I think the culprate is
src/files/generators/keymap.c.js
:For some reason, that for loop looks a bit dodgy. It seems to assume that there will always be the max amount of layers.
I don't know if that is supposed to be the case.
I did modify my layout file by hand, and in order to get a clean, human-readable JSON, I removed the unused layers. If that's not supported, that should either fail gracefully or maybe add
KC_TRNS
keycodes by default ?The text was updated successfully, but these errors were encountered: