examples: fix keys (mathjs array zero-indexed)
This commit is contained in:
parent
b96bf4f6f8
commit
ae74946493
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@
|
|||
"t"
|
||||
],
|
||||
"widgetId": "xy_1",
|
||||
"keydown": "x = key == \"t\" ? 0.1 : -0.1;\nvalue[1] + x\nvalue[2] + x\n# value + 0.1 works too",
|
||||
"keydown": "x = key == \"t\" ? 0.1 : -0.1;\nvalue[0] + x\nvalue[1] + x\n# value + 0.1 works too",
|
||||
"keyup": "",
|
||||
"repeat": false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue