mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2025-02-16 22:37:03 +00:00
README fix for keys with labels.
Couldn't get the README example with key labels to work. It appears that you need to use keytext() as a child of the key. Updated example produces output matching the screenshot.
This commit is contained in:
parent
914f1d7e05
commit
c613de503f
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ If you wanted to generate some 2u stabilized keycaps for an Ergodox for instance
|
|||
```
|
||||
legends = ["Enter", "Escape", "Tab", "Shift"];
|
||||
for(y=[0:3]) {
|
||||
translate_u(0,y) 2u() dsa_row() stabilized() cherry() key(legends[y], inset=true);
|
||||
translate_u(0,y) 2u() dsa_row() stabilized() cherry() key(inset=true) { keytext(legends[y], [0,0], 6); }
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue